#21234 [Com]: Cannot load "php4apache2.dll" into Apache 2.039
| From: | pbearpro at jcom dot home dot ne dot jp | Date: | Tue, 14 Jan 2003 08:17:10 +0000 |
| Subject: | #21234 [Com]: Cannot load "php4apache2.dll" into Apache 2.039 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29973@lists.php.net to get a copy of this message | ||
ID: 21234
Comment by: pbearpro@jcom.home.ne.jp
Reported By: garyfung@adidacfellowship.org
Status: Closed
Bug Type: Apache2 related
Operating System: Windows XP
PHP Version: 4.3.0
New Comment:
I have installed Apache 2.0.43 and the latest stable PHP to date PHP
4.3.1-dev but I am still getting the error:
Cannot load C:/php/sapi/php4apache2.dll into server: Cannot find
Unspecified Procedure
I have moved php4ts.lib to my system32 directory and my httpd.conf file
is:
LoadModule php4_module c:/PHP/sapi/php4apache2.dll
I have edited the php.ini-recommended file and moved it to my winnt
directory.
Have I done something wrong? or left something out?
Thank you for your help.
Shirokuma
Previous Comments:
------------------------------------------------------------------------
[2002-12-28 08:22:44] moriyoshi@php.net
In this case, the error "specified procedure could not be found" was
caused by the numerous Apache API change between 2.0.39 and 2.0.43. As
it's all up to Apache, we are hardly able to have a note on this.
Thank you for the report.
------------------------------------------------------------------------
[2002-12-28 06:12:35] garyfung@adidacfellowship.org
Thanks, Apache 2.0.43 worked. A sidenote: php4apache2.dll from PHP 4.3
doesn't work with Apache 2.0.39, but works with 2.0.43, which is also
the only Apache version that works PHP 4.3 I believe.
Although support for Apache 2 is experimental, there should perhaps be
some warning in the PHP 4.3 release re: which version of Apache works
and which doesn't?
------------------------------------------------------------------------
[2002-12-28 00:51:02] moriyoshi@php.net
Are you sure that all the installed dlls (perhaps in the windows system
directory) are updated by those bundled in 4.3.0? And did you try the
latest version of Apache2 (2.0.43)?
------------------------------------------------------------------------
[2002-12-28 00:38:58] garyfung@adidacfellowship.org
I tried to run a strace, but strace apparently doesn't work on Winxp
(blank output).
Also note the error is "specifed procedure" not found. If I take out
php4ts.dll then it says "specified module".
Is there an alternative to strace I can use on Winxp for tracing which
file is missing?
------------------------------------------------------------------------
[2002-12-27 23:32:44] garyfung@adidacfellowship.org
Here's the error when I type: apache -k install
Syntax error on line 173 of D:/FoxServ/Apache/conf/httpd.conf:
Cannot load D:/FoxServ/php/sapi/php4apache2.dll into server: The
specified procedure could not be found.
I disabled loading any optional PHP modules. PHP 4.23 worked with the
exact same setup.
I tried using php4apache2.dll from PHP 4.23, Apache and PHP loaded
successfully. But when I load a php script using fopen(), Apache
crashes, along with the computer.
I coppied php4ts.lib and php4ts.dll to the directory where
php4apache2.dll is. Perhaps there are additional libraries PHP 4.3 need
but 4.23 didn't.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21234&edit=1