php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10329 failed to load module: php4apache.dll under Apache 1.3.19
Submitted: 2001-04-14 19:47 UTC Modified: 2001-04-28 16:23 UTC
From: gjens at web dot de Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.4pl1 OS: windows 2000 professionell
Private report: No CVE-ID: None
 [2001-04-14 19:47 UTC] gjens at web dot de
I installed Apache 1.3.19 and php4.0.4pl1 on Win2k and
tried to load the php4 module into the apache service.
entry in the httpd.conf:
"LoadModule php4_module h:\php\sapi\php4apache.dll"

But the Service cannot start.
error message:
------------------
Syntax error in line 205 of h:/apache/conf/httpd/conf
Cannot load h:\php\sapi\php4apache.dll into server: (127) The give Procedure wasn?t found
--------------------
(translated)
The German original message:
-------------------
Syntax error in line 205 of h:/apache/conf/httpd/conf
Cannot load h:\php\sapi\php4apache.dll into server: (127) Die angegebene prozedur wurde nicht gefunden
--------------------

I exchanged the php4apache.dll from the distribution "php4.0.4pl1" with the one out of 
"php4.0.4-dev". Then the error message didn't appear, but the service cannot start as well!

The same php module is working under Apache 1.3.14 for windows. 

I downloaded the php4.0.4pl1 distribution from php.net, and loaded no modules, the php.exe can start without problems as standalone programm.

I'll be very pleased, if someone could help me to fix this Problem

(Before this installation i had running:
apache 1.3.14 and php4.0.4-dev, but had different difficultieswith that release )

Jens Grubert
germany

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-28 16:18 UTC] jmoore@php.net
please try again with latest cvs or binary from php4win.de it works fine for me.

- James
 [2001-04-28 16:23 UTC] jmoore@php.net
please try again with latest cvs or binary from php4win.de it works fine for me.

- James
 [2002-02-03 13:35 UTC] iyerland at msn dot com
I had the same problem, then I went to www.php4win.de and downloaded the latest 4.1.1 binary. It solved the problem.

I tried it with 3 different php4 binaries.

1. php4.1.0 - Exe file - Faulty executable with SAPI
2. php4.1.1 - Zip file - Faulty as /SAPI has no php4.exe
3. php4.1.1 - Exe file - Correct executable and /SAPI has
                         php4.exe

With the correct version, you do not have to bother with colon and copying dll's to the system32 directories. Only the php4ts.dll has to be copied to /winnt
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 06 07:01:29 2024 UTC