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:
To use PHP 4.2.1 under Apache 2 instalaltion, don't forget to download the new DLL related here because the one in the installation pack is not right. http://ftp.proventum.net/pub/php/win32/php4.2.x-apache2.zip Go and Get it or PHP will never go on. Previous Comments: ------------------------------------------------------------------------ [2002-07-05 00:20:07] [EMAIL PROTECTED] Glad he got it working. I am on Windows XP and I get a version mismatch with apache 2.0.39 Regards Kevin ------------------------------------------------------------------------ [2002-07-03 05:07:04] [EMAIL PROTECTED] SHIT, I'm stupied: ;-(( Now it's right!!: LoadModule php4_module c:/php/sapi/php4apache2.dll AddType application/x-httpd-php .php ------------------------------------------------------------------------ [2002-07-03 04:59:19] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [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