PHP, Apache & Oracle setup

We are planning to develop a web application on PHP & Oracle (11gR2) on Apache and the OS is RedHat AS5 update 3 (AS5.3) Linux. I would like to know the recommended versions of PHP and Apache to be used for such a setup. I have come to know that PHP and Oracle offer the best performance when Apache is running in prefork mode. In that case, I may need to install Apache 1.3. Or else I may need to install Apache 2.0 but should use the default pre-fork MPM ("Multi-Processing Module") because many of the PHP extentions are not known to be thread-safe. So not sure if installing Apache 1.3 or installing Apache 2.0 in prefork mode is better. Can anyone please provide your thoughts on this? Also what should be the PHP version?

Thanks in advance!



  • Apache: Apache 2.2 outperforms 1.3 in basically every way. That said, you should always benchmark. Just don't use a config file tuned for one version and expect it to work well for the other.
  • PHP: 5.3. There's really no reason not to. Last time I benchmarked, it was no worse than 5.2 and better in some areas.
  • PHP & Oracle: OCI8 and PDO_OCI are a bitch to get compiled and installed. Just a warning.

So, let me recap: benchmark, benchmark, benchmark.

Need Your Help

How to enable all textbox controls in itemtemplate of Repeater by itemCommand?

c# repeater itemtemplate

I have a repeater and I used label for display and a hidden text box which holds the same value. Now I want to enable the text box so that the user can edit inputs in the table/repeater. Can anyone...

linux tomcat MySql connection failure

mysql linux tomcat

I have a tomcat server running on Linux which access a remote MySql server and, suddenly, without any change in configuration/programs or anything that I'm aware of, I started to get the following ...