Sorry to cross-post but I am getting desperate
I needed to downgrade to PHP4 so I uninstalled PHP5 and installed PHP4 following the directions carefully.
I copied all the files from sapi and dll subdirectories into c:\php.
File php4apache2.dll is in c:\php\
and I added c:\php to the system path.
I also reinstalled Apache (just in case)
I've added these lines at the end of the Apache config file httpd.conf:
LoadModule php4_module "c:/PHP/php4apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/PHP/"
Apache wont start and I get this message:
httpd.exe: Syntax error on line 486 of C:/Program Files/Apache Group/Apache2.2/conf/httpd.conf:
Cannot load C:/PHP/php4apache2.dll into server: The specified procedure could not be found.
If I comment out the LoadModule line, I get this:
Syntax error on line 490 of C:/Program Files/Apache Group/Apache2.2/conf/httpd.conf:
Invalid command 'PHPIniDir', perhaps misspelled or defined by a module not included in the server configuration
I tried it with the CGI lines, and Apached starts, but phpInfo() gives an empty page
I'll be very grateful for any help!
regards,
Kimberly