I am trying to install php with apache, but having trouble with that. I have successfully been able to install apache, however, when I go for php; after making necessary changes and copying of php.ini files I am getting this error:
httpd.exe: Syntax error on line 68 of c:/apache/conf/httpd.conf: cannot load c:/apache/php/sapi/php4apache.dll into server: the specified module could not be found.
"php-4.4.7-Win32.zip" for PHP
"apache_2.2.4-win32-x86-no_ssl.msi" for Apache
Changes made so far:
1. copy php.ini to c:\windows
2. copy all the librarys from c:\php\dlls to c:\windows\system
3. Copy php4apache.dll to c:\apache\modules and php4ts.dll to c:\windows\system
4. Edit your autoexec.bat file, adding c:\apache to your %PATH% statement
5. Add the following line to httpd.conf:
LoadModule php4_module modules/php4apache.dll
5. Restart Apache.
so which version of php should i use ?
If I try the latest one, what changes should i make to the httpd.conf, also what should i add to environment "path" variable , and what files do i need to copy to apache folders or else ?