I'm using PHP 4.3.0 & apache 2.2.0
the changes I've made to http.conf :
I've added
LoadModule php4_module c:\php\php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
changed:
<IfModule mod_dir.c>
DirectoryIndex index.html
</IfModule>
to
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
I have changed php configuration in "c:\php\php.ini-dist" and save as "c:\windows\php.ini"as follows:
short_open_tag = On
to
short_open_tag = Off
error_reporting = E_ALL & ~E_NOTICE
to
error_reporting = E_ALL
;include_path = ".;c:\php\includes"
to
include_path = ".;c:\php\includes"
extension_dir = "./"
to
extension_dir = "c:\php\extensions"
session.save_path = /tmp
to
session.save_path = c:\windows\temp
The main folder of php is C:\php
Yes, I have copied all files in 'dlls' & 'sapi' folder main folder to C:\php
I also have copied all files in 'dlls' folder & php4ts.dll file in C:\WINDOWS\System32
😕