Apache 2.2 / PHP 5.1.2?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply

Version of Apache you use (Unix/Linux platform)?

Poll ended at Sun Mar 05, 2006 10:18 am

1.3
1
33%
2.0
1
33%
2.2
1
33%
 
Total votes: 3

User avatar
NacreData
Forum Newbie
Posts: 2
Joined: Thu Feb 23, 2006 10:10 am

Apache 2.2 / PHP 5.1.2?

Post by NacreData »

Anyone using Apache 2.2 Prefork on a *NIX platform with PHP 5? I notice some people have had problems on the page http://www.php.net/manual/en/install.unix.apache2.php and I'm not sure if these are unusual cases, or if it is ok once set up, or if it has been worked out, or if I would be safer with Apache 2.0 or 1.3?

Thanks for sharing your experience
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

It's always safer to not use a bleeding edge version. The question is, do you want to use the bleeding edge version? Most servers still today run Apache 1.3, which drives me nuts, but is fairly exceptible in the long run. Personally, I prefer Apache 2.0 right now, although I don't run *nix, all the time.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

I am running Apache 2.2 and PHP 5 on Fedora 4 and it runs like a charm. I have never had any problems at all, and I tend to run yum update once in a while so I'm sure it's been updated once or twice in the last 8 months. I remember having some issues getting them to run together on a Windows box, but I attribute that to it just being misconfigured.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

PHP 5.1 on Apache 2.0 on Gentoo for my main hosting server.

I also run PHP 5.1 and Apache 2.0 on my other linux setups (personal Gentoo system and Ubuntu).

I use apxs to install PHP to work with apache since that pretty much does it for you. Best tip I can give to anyone struggling with installing PHP5 and Apache2 on *nix - use apxs!
redmonkey
Forum Regular
Posts: 836
Joined: Thu Dec 18, 2003 3:58 pm

Post by redmonkey »

Most of the problems you are likely to encounter will be with attempting to link against old or non existant libraries, you distro's package manager (if you are installing binary packages) should sort that out but it's not always the case.

In my opinion, unless you need a specific feature or there is a need to upgrade to close a security hole, I tend not to bother, I let everybody else deal with the headaches first.
Post Reply