Bug #18129 Updated: Installation PHP 4.2.X with Apache 2.0.x
| From: | erik at antwerpes dot de | Date: | Wed, 03 Jul 2002 08:59:20 +0000 |
| Subject: | Bug #18129 Updated: Installation PHP 4.2.X with Apache 2.0.x | ||
| References: | 1 | Groups: | php.bugs php.doc |
| Request: | Send a blank email to php-bugs+get-12947@lists.php.net to get a copy of this message | ||
ID: 18129
Updated by: erik@antwerpes.de
Reported By: erik@antwerpes.de
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] erik@antwerpes.de
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