PHP4 module for Apache Win32 : INSTALLATION
PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C,
Java and Perl with a couple of unique PHP-specific features thrown in. The goal of
the language is to allow web developers to write dynamically generated pages quickly.
My favorite features:
ODBC connectivity whith persistent connections on mod_php4, more speed and less startup
latency.
I am using PHP but my CGI installation is too slooow on my Apache (win32)
!
How to speed it up ?
The answer is simple. Use mod_php4 with your installation !
All you need is PHP4 installed to your computer. You can downolad
win32 binaries from
PHP4 site.
The simpliest way to install is to download
the binaries archive and follow these instructions:
-
Remove your CGI based PHP configuration from apache config files.
-
Put your <php-dir> into your PATH.
-
Copy mod_ph4.dll in dir <apache_dir>\modules
-
Copy mod_php4.conf in dir <apache_dir>\conf
-
Edit <apache_dir>\conf\srm.conf and add this line at the end of file:
Include conf/mod_php4.conf
-
Restart your computer, and all your files named .php3 .php4 .php will be passed to PHP