LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-10-2004, 05:38 AM   #1
fledermaus
Member
 
Registered: Nov 2003
Posts: 36

Rep: Reputation: 15
Question install php on red hat 9


hey there,

can someone please explain me how I can install the latest php for red hat linux 9? I have no clue where to start so please explain the complete process ;-)

I managed to make Apache webserver running and also webmin and xwindows are running ok.

tnx in advance,
 
Old 09-10-2004, 05:39 AM   #2
fledermaus
Member
 
Registered: Nov 2003
Posts: 36

Original Poster
Rep: Reputation: 15
Sorry forgot something:

I allready downloaded php-5.rpm from the official website but I dont know the command to install that rpm. It always gives errors.

tnx
 
Old 09-10-2004, 11:07 PM   #3
jabird
Member
 
Registered: Sep 2004
Location: Carbondale, IL
Distribution: Debian and Ubuntu
Posts: 34

Rep: Reputation: 15
rpm -i filenamehere.rpm (enter)

it should do it all for ya! Btw, where did you get the RPM for PHP?? I've looked for hours without luck...
 
Old 09-11-2004, 04:49 AM   #4
fledermaus
Member
 
Registered: Nov 2003
Posts: 36

Original Poster
Rep: Reputation: 15
Arrow download rpm

Hi there: I found the rpm of php, which is appearently a part of mysql, here:

http://dev.mysql.com/downloads/mysql/4.0.html

Still have to try if it works ;-)
 
Old 09-11-2004, 05:24 AM   #5
fledermaus
Member
 
Registered: Nov 2003
Posts: 36

Original Poster
Rep: Reputation: 15
Talking it works

ah, it seems to work. Now I only have to configure it and start by setting an sql root pwd. I'll keep you informed.
 
Old 09-11-2004, 09:35 AM   #6
jabird
Member
 
Registered: Sep 2004
Location: Carbondale, IL
Distribution: Debian and Ubuntu
Posts: 34

Rep: Reputation: 15
Do you know what version it is that it comes with?

I've installed MySQL 4.1 last night, but I am still trying to work out a little problem I have, I will test it out once I get it up...

Thanks
~Jabird
 
Old 09-11-2004, 10:16 AM   #7
fledermaus
Member
 
Registered: Nov 2003
Posts: 36

Original Poster
Rep: Reputation: 15
I installed the same version as you since version 5 said alpha or something. So actually I installed the latest rpm of version 4. It seems to work although I still need to figure out how to test it in a proper way.
 
Old 09-11-2004, 11:29 AM   #8
jabird
Member
 
Registered: Sep 2004
Location: Carbondale, IL
Distribution: Debian and Ubuntu
Posts: 34

Rep: Reputation: 15
<?php phpinfo() ?>

with that code in it, and save it as phpinfo.php, upload it to the root upload directory, and browse to:

http://yourcomputersip/phpinfo.php and see if it displays anything, it should display a LOT of stuff about PHP, and perhaps something about MySQL on down the list, if that displays, it worked...

~Jabird
 
Old 09-14-2004, 03:26 PM   #9
fledermaus
Member
 
Registered: Nov 2003
Posts: 36

Original Poster
Rep: Reputation: 15
it works: check at http://fledermaus.servebeer.com:8888/test.php

Tnx for the help
 
Old 09-14-2004, 07:30 PM   #10
jabird
Member
 
Registered: Sep 2004
Location: Carbondale, IL
Distribution: Debian and Ubuntu
Posts: 34

Rep: Reputation: 15
Great! Glad it works! I get "Operation timed out when attempting to contact fledermaus.servebeer.com"
 
Old 09-15-2004, 12:29 AM   #11
fledermaus
Member
 
Registered: Nov 2003
Posts: 36

Original Poster
Rep: Reputation: 15
ah yeah, I turned the server off last night. You can try again now... ;-)
 
Old 09-15-2004, 05:19 PM   #12
jabird
Member
 
Registered: Sep 2004
Location: Carbondale, IL
Distribution: Debian and Ubuntu
Posts: 34

Rep: Reputation: 15
Awesome!!! I can't wait till I can get mine working :| I messed up my install lol.

~Jabird
stay in touch...
 
Old 09-16-2004, 03:40 AM   #13
fledermaus
Member
 
Registered: Nov 2003
Posts: 36

Original Poster
Rep: Reputation: 15
even the forum for my clan is working already:

http://fledermaus.servebeer.com:8888/bsclan/

Dont mind the design, I still have a lot of work to do on that forum...
 
Old 09-16-2004, 05:47 PM   #14
jabird
Member
 
Registered: Sep 2004
Location: Carbondale, IL
Distribution: Debian and Ubuntu
Posts: 34

Rep: Reputation: 15
Its ok, I understand the work on the forum :|

http://www.jabird.com/forums/

once you register, there is a drop down box that you can select your template on (select jabird (if you decide to check it out)) that is my WIP (Work-in-Progress)... Looks terrible at the moment...

~Jabird

EDIT: Btw, did you install the MySQL-server-4.1.4-0.i386.rpm package? If not, what did you install? I am having some problems :|

Last edited by jabird; 09-16-2004 at 06:57 PM.
 
Old 09-17-2004, 04:51 AM   #15
fledermaus
Member
 
Registered: Nov 2003
Posts: 36

Original Poster
Rep: Reputation: 15
Actually a friend of me said I'd better use APT. More info you can find here:

http://freshrpms.net/apt/

Once installed, which was quite easy, I think I used the command:

apt -install mysql

and the thing did it's job. But I'm not sure anymore about the command but I know it was so easy.... !!

You should try it: I had a lot of pain downloading the rpm's and installing them but really APT did the trick.

good luck!! it worked fine for me!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
During Red Hat Linux 9 install: error "No devices found to install Red Hat Linux" rbradtx Linux - Newbie 11 06-25-2010 04:55 PM
Making PHP files in Red Hat 9? NeoSephiroth Programming 1 10-17-2004 06:51 AM
Install RED HAT 9 = cant find red hat CD voodooutt Red Hat 7 11-18-2003 05:37 PM
PhP and Red Hat 8 studentforever Linux - Software 2 08-27-2003 01:12 AM
Red Hat 8 : PHP/MySQL/Apache jefx Linux - Newbie 10 05-28-2003 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration