#18129 [Com]: Installation PHP 4.2.X with Apache 2.0.x
| From: | chris dot capel at free dot fr | Date: | Sat, 24 Aug 2002 19:33:07 +0000 |
| Subject: | #18129 [Com]: 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-17771@lists.php.net to get a copy of this message | ||
ID: 18129
Comment by: chris.capel@free.fr
Reported By: erik@antwerpes.de
Status: Open
Bug Type: Documentation problem
Operating System: Win32
PHP Version: 4.2.1
New Comment:
Hi guys,
Previous Comments:
------------------------------------------------------------------------
[2002-08-10 12:22:22] cionci@tin.it
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@php.net
The .dll problem part of this bug is solved in 4.2.2 release.
------------------------------------------------------------------------
[2002-08-06 02:32:46] db@webgate.net
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@php.net
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
------------------------------------------------------------------------
[2002-07-13 22:19:52] jhansch1@elp.rr.com
I'm having problems with Apache 2.0.39 and PHP 4.2.1.
I downloaded the new php4apache2.dll and put it in the sapi folder, and
added the lines:
#### START PHP
LoadModule php4_module "C:\Program Files\Apache
Group\PHP\sapi\php4apache2.dll"
AddType application/x-httpd-php .php .phtml .php3
#### END PHP
into my httpd.conf. The path to the file is correct, but whenever I
try to start it, I get an error. When I run the test-configuration
link in the apache program group, it says it "cannot find the module"
but the file is there :\ Anyone have any other ideas?
------------------------------------------------------------------------
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