php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17487 The version of php4apache, apache2 modules is WRONG
Submitted: 2002-05-28 13:54 UTC Modified: 2002-05-28 14:53 UTC
From: blahblah at kornet dot net Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.2.1 OS: Windows XP
Private report: No CVE-ID: None
 [2002-05-28 13:54 UTC] blahblah at kornet dot net
The version of php4apache/apache2 modules which are  included in PHP4 4.2.1/Win32 is 4.2.0, NOT 4.2.1

I am receiving those messages whenever I start Apache Service.
------------------------------------
gd: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=1
PHP    compiled with module API=20010901, debug=0, thread-safety=1
These options need to match
------------------------------------
So I decided to use php_gd2.dll 4.2.0 instead of one that is included in 4.2.1, but at this time php.exe sucks.
------------------------------------
PHP Warning:  gd: Unable to initialize module
Module compiled with module API=20010901, debug=0, thread-safety=1
PHP    compiled with module API=20020429, debug=0, thread-safety=1
These options need to match
------------------------------------
....and this is my directory listing of C:\PHP\SAPI
2002-05-13  12:01            24,576 php4apache.dll
2002-05-13  12:01            24,576 php4isapi.dll
2002-05-13  12:01            20,480 php4nsapi.dll
2002-05-13  12:01            20,480 php4pi3web.dll
2002-05-13  12:01            24,576 phpsrvlt.dll
2002-05-13  12:01             9,540 phpsrvlt.jar
2002-05-13  12:45               135 pws-php4cgi.reg
2002-05-13  12:45               139 pws-php4isapi.reg
2002-05-13  12:01            24,576 php4apache2.dll

2002-05-13, it is right, huh?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-28 14:19 UTC] blahblah at kornet dot net
..and this is the HTTP Response Header. it is same when I use Apache/1.3.24. (only the 'Apache/1.3.24' instead of 'Apache/2.0.36')

HTTP/1.1 200 OK
Date: Tue, 28 May 2002 18:15:51 GMT
Server: Apache/2.0.36 (Win32) PHP/4.2.1 <- right
Accept-Ranges: bytes
X-Powered-By: PHP/4.2.0              <- wrong
Transfer-Encoding: chunked
Content-Type: text/html; charset=EUC-KR
 [2002-05-28 14:36 UTC] sander@php.net
Are you 100% you didn't messed up with php4ts.dll?
Do you have only one version on your system? It should at least be in c:\windows\system32
 [2002-05-28 14:41 UTC] blahblah at kornet dot net
Thank you. I've found the problem and fixed it.

Now it works!

Thank you for your help.
 [2002-05-28 14:53 UTC] derick@php.net
User error->bogus
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 20:01:34 2025 UTC