First of all let me give you the good news. Apache 1.3.x and PHP4.06 does work on Win32 bit systems. I am running both on a Win 98. You must make sure you have installed Apache successfully first. Then proceed with the PHP4 install. check and make sure your php.ini is setup correctly. First thing is to not load any modules at all in the php.ini. Another words, leave all modules commented out for the time being.
Look inside your php.ini for this:
*Paths and Directories
include_path =
doc_root =
extension_dir = ./
enable_dl = On
If you notice Since I installed apache &
PHP4 in their "default" location directories I left my PHP.INI default as well.
VERY IMPORTANT: PHP can be installed in 2 different ways. It can be loaded at runtime by Apache as a .dll module or a CGI. I use the module way. Also, If you noticed at Apache's download site, you have two diff types of downloads for Windows systems. you have a binary download that has the ".exe" extension or you can download the ".msi" , but in order to install the .msi you must have the microsft installation package installed, no biggy tho, info is at the Apache website. I've installed both and have prefered the .msi one becuase I had less errors with it.
Later, once you get php running then proceed with addtional modules as you need them. Also, make sure you place these lines in your Apache http.conf file:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
ScriptAlias /php/ "C:/php/"
also make sure you are not loading additional modules in Apache that you are not using or know absolutely nothing about.
The main thing is getting php4 up and running, then you can add addtional modules when needed.
Hope this sheds a little light on your situation.