On Win98 pc, I first installed Apache 1.3.14.Win32_r2.exe to the default locations, i.e., Program Files\Apache Group\Apache.
I downloaded the 4.04 installer from phpwin.de, unpacking it into the cgi-bin of the above Apache install (cgi-bin/php).
I placed php4ts.dll and php.ini (renamed from php.ini-dist) into C:\windows
* * * * * *
Apache is working ok, but I get the Apache info page only, i.e., configuration is imcomplete in some way, denying me navigation to htmldocs to run .php files, etc. I presume this means /php is not being accessed either. I cannot locate the mistake in the configuration. Here are the relevant lines from httpd.conf, and php.ini.
Where is the configuration error? I can't seem to find it. What needs to be modified to get php running, and with GD working with it (yes, I did uncomment GD and zLib extensions).
PHP configuration...
#####################################
include_path=; UNIX: "/path1:/path2" Windows: "\path1;\path2"
doc_root=;
user_dir=;
extension_dir=C:\PROGRA~1\APACHE~1\APACHE\CGI-BIN\PHP\EXTENSIONS
enable_dl=On ;
;...
extension=php_gd.dll
;...
extension=php_zlib.dll
;...
Apache configuration:
This is what I have in httpd.conf:
#######################################
#
#
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"
ScriptAlias /php4/ "C:/Program Files/Apache Group/Apache/cgi-bin/php/"
ScriptAlias /php3/ "C:/Program Files/Apache Group/Apache/cgi-bin/php/"
ScriptAlias /php/ "C:/Program Files/Apache Group/Apache/cgi-bin/php/"
#
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType application/x-tar .tgz
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .php3
#
#
Action application/x-httpd-php "/php/php.exe"
Action application/x-httpd-php4 "/php4/php.exe"
#
#
ServerRoot "C:/Program Files/Apache Group/Apache"
#
#
DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs"
#
#
ServerName 127.0.0.1
#
#
<Directory "C:/Program Files/Apache Group/Apache/htdocs">
#
#