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
Apache 2.2 / PHP 5.1.2?
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
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.
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.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
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!
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!
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.
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.