|
Posted by Jim Carlock on 01/24/07 15:49
On Jan 22, 1:48 pm, "Jim Carlock" posted...
: I started up PHP 5.2 on Apache and noticed it is slightly slower
: than the latest version of PHP 4.x (Apache 1.3.37/Windows NT).
:
: It might perhaps have to do with anything in the PHP.INI file?
"Curtis" asked:
: Are you running PHP as an Apache module, or as a CGI?
It's loaded as a module.
<httpd.conf>
# Load the php 4 module
# LoadModule php4_module "E:/php4/php4apache.dll"
# Load the php 5 module
LoadModule php5_module "E:/php5/php5apache.dll"
# ... more stuff ...
# [Whenever changing LoadModules above, update items below!]
ClearModuleList
# ... bunch of AddModule stuff ...
# Add the mod_php4.c
# AddModule mod_php4.c
AddModule mod_php5.c
</httpd.conf>
Apache seems to start up and load just as quickly as it used to,
but I noticed a slightly longer delay in presenting PHP pages under
PHP 5 (not much but enough). But perhaps it's caused because of
added extensions in PHP 5. I installed PHP 5 to get to php_pdo.dll,
php_pdo_sqlite.dll and php_sqlite.dll extensions (?).
--
Jim Carlock
Post replies to the group.
[Back to original message]
|