Linux - SoftwareThis 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.
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.
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.
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...
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.
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.
- 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:
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).