LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-07-2005, 11:48 PM   #1
Hampster
Member
 
Registered: May 2003
Location: Washington (the State)
Distribution: Ubuntu 8
Posts: 50

Rep: Reputation: 15
php5


Well, I wrote a ton of code using php5 on my Mac, now I need to install in on a Linux box at the new office. I installed RH9, but in only comes with php4 (apache2.0.40).

Since I can't find a binary package anywhere, I tried to install php5 from source, following the instructions on php.net. Eventually, ./configure with options worked, but upon 'make'ing, I get a message saying that I need apache 2.0.44. So, I followed the instructions on the above web page to install the latest version of apache, but it does not work. When I launch httpd, I get the first version, and php still won't make.

I suspect that redhat does things a bit weird, and the new version of apache is not where RH wants it to be, but I really don't know.

Is there any, simple way of installing php5 on any linux system? (Remember I'm primarily a Mac user) I don't care about apache 1.3 vs 2.0. I still have time to install a different distro. Any help here would be greatly appreciated.

-Dave
 
Old 01-07-2005, 11:56 PM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
If I was you, I'd upgrade for another distro. Redhat 9.0 is really old and not even supported any longer. Any newer distributions should come with what you need out of the box. However, if downloading, formating and installing a new distributions is not what an option, remove your old apache first, them install the new one to make sure Redhat won't try to start the old one...

There are some packages here:

http://rpm.pbone.net/

perhaps you may find php or apache there. And even if it's not for Redhat 9.0, you may get them to work. I've installed Mandrake packages in Redhat without a problem in the past. Although, I found it most unlikely to work.

Good luck mate!
 
Old 01-09-2005, 11:50 AM   #3
Hampster
Member
 
Registered: May 2003
Location: Washington (the State)
Distribution: Ubuntu 8
Posts: 50

Original Poster
Rep: Reputation: 15
Thanks for the link. I'll give it a shot on Monday.

I may switch to Mandrake anyway, because is uses the 2.6 kernel. However, even 10.1 only has php4.

-Dave
 
Old 01-09-2005, 03:51 PM   #4
Hampster
Member
 
Registered: May 2003
Location: Washington (the State)
Distribution: Ubuntu 8
Posts: 50

Original Poster
Rep: Reputation: 15
I went ahead and installed Mandrake on my wife's computer (She has a spare HD attached for me to play with :-) )

Well, I found a 4.5 Mb, php5.02 rpm for mandrake at the above mentioned website, but it refuses to install. It is a source rpm, and it claimes it needs libxslt1-devel installed. I don't see it on the list. I'm not even sure if I had the right rpm anyway.

Is there a decent tutorial or explaination on how to use Mandrake's RPM Installer? For example, I needed to double click on the above mentioned package icon from Konquerer, but from the actual installer program, there is no way to browse the file and install it.

Doesn't that seem odd?

-Dave
 
Old 01-09-2005, 05:50 PM   #5
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Hi there again Hampster! . I'm not quite sure about that dependency, however, here are some links:

- Basic guide to get things installed in Linux, be it source or rpm's:
http://www.linuxquestions.org/questi...threadid=45094

- Learn how to use urpmi (and it's graphical interface, gurpmi) wisely. It's capable of install and remove dependencies (even downloading packages from the net to match the dependencies) with a single click. Easy URPMI helps you to configure it with a few basic steps:

http://easyurpmi.zarb.org/

Last advice, don't use -source-rpm packages. Maybe this is the one you want:

http://rpm.pbone.net/index.php3/stat....i386.rpm.html

Even though not build for Mandrake, 'could' work. Remember to install this kind of things from the terminal (Link 1 teaches you that). It's easier (from my point of view) and has a better output of errors (that's true).

Hope that's of any help.

Good luck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
phpbb on PHP5 Swift&Smart Linux - Software 1 11-24-2005 07:48 PM
Apache1.3 and php5 squeaks_27 Linux - Networking 4 06-17-2005 10:36 PM
Apache and PHP5 Mogatu Linux - Software 3 06-17-2005 04:43 PM
Php5 >> Php4 Eric45008 Slackware 22 04-25-2005 08:37 PM
PHP5 for Suse 9.1? gordingin Linux - Software 0 10-20-2004 12:37 PM


All times are GMT -5. The time now is 04:51 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration