ID: 18129 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: ALL Systems PHP Version: 4.2.1 New Comment:
THERE was an ERROR when I wrote this. The name of the modukle must be "php4apache2.dll" the hole statement is: LoadModule php4_module c:/php/sapi/php4apache.dll AddType application/x-httpd-php .php Regards Erik Previous Comments: ------------------------------------------------------------------------ [2002-07-03 04:55:29] [EMAIL PROTECTED] Hi guys, the documentation (install.txt) for php to work with apache 2 is not so good and so it took a lot of time for me to make it works. I want to use php as sapi module in apache 2. So I took the three line from the documentation: LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php modified the path-statements and change the module name to new php4apache2.dll. I restarted apache an I got only errors. I tried also a new one of the module which I got from http://ftp.proventum.net/pub/php/win32/php4.2.x-apache2.zip but the result was the same. Always errors. After a lot of hours of searching and trying, I changed the three lines and used only the next two ones: LoadModule php4_module c:/php/sapi/php4apache.dll AddType application/x-httpd-php .php And everything was fine and it's still working. I took so much time!!! There a so many questions in the newsgroups so please make a hint in the next version of the documentation how to use the module with apache2. Regards Erik ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18129&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php