ID: 16783 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Apache2 related Operating System: Windows XP Professional 5.1.2600 PHP Version: 4.2.0 New Comment:
Sorry Sorry! Just found other similar bug reports! Sorry for wasting your time. PHP now works with apache2filter.dll but I had to comment "AddModule mod_php4.c" because Apache complained: "Invalid command 'AddModule', perhaps mis-spelled or defined by a module not included in the server configuration." Previous Comments: ------------------------------------------------------------------------ [2002-04-23 21:57:48] [EMAIL PROTECTED] You're using wrong dll. it's called 'apache2filter.dll' and it can be found in the experimental folder in the zip. ------------------------------------------------------------------------ [2002-04-23 21:42:47] [EMAIL PROTECTED] The following problem is most probably caused by Apache, not PHP, but this report may be useful to you. _______________Summary: After adding the necessary lines in httpd.conf to register the PHP module, Apache service cannot be started. The Windows event viewer reports: "The Apache service named reported the following error:>>> Cannot load C:/PHPmod/sapi/php4apache.dll into server: The specified module could not be found." But the dll is right where it should be, and with appropriate permissions set! _______________Details: Apache version: 2.0.35 As instructed in install.txt on your distribution, I added the following lines to the Modules section in httpd.conf: #----------PHP------------- LoadModule php4_module c:/PHPmod/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php #-------------------------- I am using the "c:\PHPmod" directory because c:\php contains the CGI distribution of PHP4.1.1 wich I use with a Xitami Webserver and for processing scripts. I tried to move the dll around a bit (like in the apache mods directory) and experimented with the path (trying windows slashes, omitting "c:" etc). Later on, I read the PHP install directions and noticed I hadn't copied php.ini in the windows directory. So I copied php.ini-distr , renamed it and edited the "extension_dir" setting as instructed. But that didn't fix the problem. Thank you ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16783&edit=1