#21234 [Csd]: Cannot load "php4apache2.dll" into Apache 2.039
| From: | moriyoshi@php.net | Date: | Sat, 28 Dec 2002 14:22:44 +0000 |
| Subject: | #21234 [Csd]: Cannot load "php4apache2.dll" into Apache 2.039 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28580@lists.php.net to get a copy of this message | ||
ID: 21234
Updated by: moriyoshi@php.net
Reported By: garyfung@adidacfellowship.org
Status: Closed
Bug Type: Apache2 related
Operating System: Windows XP
PHP Version: 4.3.0
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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