Red Hat This forum is for the discussion of Red Hat Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-10-2004, 06:38 AM
|
#1
|
Member
Registered: Nov 2003
Posts: 36
Rep:
|
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,
|
|
|
09-10-2004, 06:39 AM
|
#2
|
Member
Registered: Nov 2003
Posts: 36
Original Poster
Rep:
|
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
|
|
|
09-11-2004, 12:07 AM
|
#3
|
Member
Registered: Sep 2004
Location: Carbondale, IL
Distribution: Debian and Ubuntu
Posts: 34
Rep:
|
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...
|
|
|
09-11-2004, 05:49 AM
|
#4
|
Member
Registered: Nov 2003
Posts: 36
Original Poster
Rep:
|
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 ;-)
|
|
|
09-11-2004, 06:24 AM
|
#5
|
Member
Registered: Nov 2003
Posts: 36
Original Poster
Rep:
|
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.
|
|
|
09-11-2004, 10:35 AM
|
#6
|
Member
Registered: Sep 2004
Location: Carbondale, IL
Distribution: Debian and Ubuntu
Posts: 34
Rep:
|
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
|
|
|
09-11-2004, 11:16 AM
|
#7
|
Member
Registered: Nov 2003
Posts: 36
Original Poster
Rep:
|
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.
|
|
|
09-11-2004, 12:29 PM
|
#8
|
Member
Registered: Sep 2004
Location: Carbondale, IL
Distribution: Debian and Ubuntu
Posts: 34
Rep:
|
<?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
|
|
|
09-14-2004, 04:26 PM
|
#9
|
Member
Registered: Nov 2003
Posts: 36
Original Poster
Rep:
|
|
|
|
09-14-2004, 08:30 PM
|
#10
|
Member
Registered: Sep 2004
Location: Carbondale, IL
Distribution: Debian and Ubuntu
Posts: 34
Rep:
|
Great! Glad it works! I get "Operation timed out when attempting to contact fledermaus.servebeer.com"
|
|
|
09-15-2004, 01:29 AM
|
#11
|
Member
Registered: Nov 2003
Posts: 36
Original Poster
Rep:
|
ah yeah, I turned the server off last night. You can try again now... ;-)
|
|
|
09-15-2004, 06:19 PM
|
#12
|
Member
Registered: Sep 2004
Location: Carbondale, IL
Distribution: Debian and Ubuntu
Posts: 34
Rep:
|
Awesome!!! I can't wait till I can get mine working :| I messed up my install lol.
~Jabird
stay in touch...
|
|
|
09-16-2004, 04:40 AM
|
#13
|
Member
Registered: Nov 2003
Posts: 36
Original Poster
Rep:
|
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...
|
|
|
09-16-2004, 06:47 PM
|
#14
|
Member
Registered: Sep 2004
Location: Carbondale, IL
Distribution: Debian and Ubuntu
Posts: 34
Rep:
|
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 07:57 PM.
|
|
|
09-17-2004, 05:51 AM
|
#15
|
Member
Registered: Nov 2003
Posts: 36
Original Poster
Rep:
|
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!!
|
|
|
All times are GMT -5. The time now is 12:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|