Windows XP Professional Environment APAPCHE, PHP4 installation 1. Prepare software First, you need to prepare three software Apache 2.0.48 (www.apache.org), PHP-4.3.9-Installer.exe (www.php.net) and PHP -4.3.9-Win32.zip (www.php.net) 2. Software installation first installs Apache 2.0.48, directly according to steps, select the directory, sequentially installed; then install PHP-4.3.9-Installer. EXE, the same specified directory installation is available; unzip PHP-4.3.9-Win32.zip, put it in the directory of the SAPI directory to the PHP-4.3.3.9- The PHP4TS.dll file in the installation directory is copied to the C: / Windows / System32 directory. 3. Environment Configuration Modify httpd.conf file 1. Find # loadingmodule foo_module modules / mod_foo.so ... #loadModule SSL_Module Modules / Mod_ssl.so Add loadModule PHP4_Module C: / PHP / SAPI / PHP4Apache2 .dll 2. Find
4. Installation test Write the following test page Hello.php, saved to C: / Program files / apache group / apache2 / htdocs Php $ browser = getenv ("http_user_agent");?>
you are useing the PHP Echo ($ Browser);?> Web Browser. p> php $ title = "browser details";?>