[PHP-DOC] #18129 [Com]: Installation PHP 4.2.X with Apache 2.0.x From: chris.capel <email protected>
Date: 08/24/02

 ID: 18129
 Comment by: chris.capel <email protected>
 Reported By: erik <email protected>
 Status: Open
 Bug Type: Documentation problem
 Operating System: Win32
 PHP Version: 4.2.1
 New Comment:

Hi guys,

Previous Comments:
------------------------------------------------------------------------

[2002-08-24 15:33:06] chris.capel <email protected>

Hi guys,

------------------------------------------------------------------------

[2002-08-10 12:22:22] cionci <email protected>

PHP 4.2.2 works fine on Apache 2.0.39 as sapi module, but doesn't work
on recently released 2.0.40.

"H:\Programmi\Apache Group\Apache2\bin\Apache.exe" -w -t -f
"H:\Programmi\Apache Group\Apache2\conf\httpd.conf" -d
"H:\Programmi\Apache Group\Apache2\." Syntax error on line 134 of
H:/Programmi/Apache Group/Apache2/conf/httpd.conf:Cannot load
H:/php/sapi/php4apache2.dll into server: Impossibile trovare il modulo
specificato.

"Impossibile trovare il modulo specificato." in English means "Cannot
find specified module"...

Do you have some suggestion ?

Thanks

------------------------------------------------------------------------

[2002-08-06 09:17:59] edink <email protected>

The .dll problem part of this bug is solved in 4.2.2 release.

------------------------------------------------------------------------

[2002-08-06 02:32:46] db <email protected>

To clarify.

Yes, the supplied module (dll) php4apache2.dll does not work properly.
I cannot say as to what the issue is with is, other than it does not
load properly or at all.

This is what I did for it to work. You can download and check the
modified DLL file (not mine) and see how it was fixed/modified.

------------------------
Link: http://freemirc.com/miki/php4apache2.dll

Download and replace it, with the existing one in your
"x:\php\sapi"

AFTER THAT change/add these lines to htppd.conf

LoadModule php4_module x:\php\sapi\php4apache2.dll
AddType application/x-httpd-php .php .php3 .php4 .phtml
------------------------

Worked for me and for good measure I did the same steps on another Win
2k server and had the same results. Without the modified DLL file, it
wouldn't work.

------------------------------------------------------------------------

[2002-07-13 22:31:56] philip <email protected>

jhansch1, this bug report already has two bugs to deal
with, they are:
a) index.txt lacks apache2 docs (confirmed)b) A possible broken
php4apache.dll (doubtful, try latest)
Please don't bring other issues into this bug report and ask support
questions to php.net/support

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/18129

-- 
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