Bug #51298 [Com]: Error when loading php5apache2_2.dll

From: Date: Thu, 27 May 2010 22:01:50 +0000
Subject: Bug #51298 [Com]: Error when loading php5apache2_2.dll
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-150887@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51298&edit=1

 ID:               51298
 Comment by:       ppylak at gmail dot com
 Reported by:      trotsky_icepick at hotmail dot com
 Summary:          Error when loading php5apache2_2.dll
 Status:           Assigned
 Type:             Bug
 Package:          Apache2 related
 Operating System: Windows Vista SP2
 PHP Version:      5.3.2
 Assigned To:      pajoye

 New Comment:

In my opinion this problem is connected with loading libpq.dll, which
(in present 
version) needs some other dlls to work, but these dlls aren't included
in php MSI 
installer (and even in zip).


Previous Comments:
------------------------------------------------------------------------
[2010-05-27 19:04:33] chris dot groothoff at mbits dot com dot au

I have been struggling with te hsame issue on a W2K3 Server SP2. AS soon
as you install the PHP 5.3.2 VC9 or V6 version the Apache server fails
to start. the event log show the following error - Faulting application
httpd.exe, version 2.2.15.0, faulting module php5ts.dll, version
5.3.2.0, fault address 0x000e6d2c. I have also tryied the 5.2.13 VC6
version and this also gives teh same error.
I am going to try the ZIP solution suggested, but I can see why people
frefer the MSI version :-)
I did try to locate an earlier version of Apache V2.0.X, but can not
find a binary download.

------------------------------------------------------------------------
[2010-05-25 23:44:33] peter dot martin at spam dot la

I've got "faulting module php5ts.dll" error while starting the Apache
server with PHP and Postgres in following instalation:
- httpd-2.2.15-win32-x86-openssl-0.9.8m-r2.msi
- php-5.3.2-Win32-VC6-x86.zip
httpd.conf:
- nothing unusual configured
php.ini configuration:
- set up my own php error log file error_log = "C:/PHP/logs/error.log"
- uncomment PgSQL extension

The solution for this was to modify httpd.conf as follows:
LoadModule php5_module "C:/PHP/php5apache2_2.dll"
PHPIniDir "C:/PHP"
# added
Loadfile "C:/PHP/php5ts.dll" 
Loadfile "C:/PHP/libpq.dll"

Try it and send response...:)

------------------------------------------------------------------------
[2010-05-19 17:18:00] pajoye@php.net

If you feel like you can fix this bug within days, heh, please go ahead.

------------------------------------------------------------------------
[2010-05-19 17:10:33] williams at uncc dot edu

There is still a problem with the Windows PHP binaries.  From 4/19
pajoye seems to believe it is a date bug to "fix as soon as possible".
It has been a month!

I have php-5.3.2-Win32-VC6-x86 and httpd-2.2.15-win32-x86-no_ssl
installed.  If I run phpinfo() (in web page) more than once (first run -
get results, second or later runs within a few seconds - get crash) I
get this error message:

AppName httpd.exe  AppVer 2.2.15.0  ModName php5ts.dll
ModVer 5.3.2.0  offset 001d79b5

I have searched for other versions of php5ts.dll - none
I have NOT mixed vc9 PHP with Apache

PHP seems to run okay in command-line, ie I can run phpinfo() in cmd box
with no problem.  I If run as test web page I get the error.

Here are php -m /php -m -n results:

C:\>php -m
[PHP Modules]
bcmath
calendar
com_dotnet
Core
ctype
date
dom
ereg
filter
ftp
hash
iconv
json
libxml
mcrypt
mhash
mysqlnd
odbc
pcre
PDO
Phar
Reflection
session
SimpleXML
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]


C:\>php -m -n
[PHP Modules]
bcmath
calendar
com_dotnet
Core
ctype
date
dom
ereg
filter
ftp
hash
iconv
json
libxml
mcrypt
mhash
mysqlnd
odbc
pcre
PDO
Phar
Reflection
session
SimpleXML
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]

I have disabled all but core modules.

------------------------------------------------------------------------
[2010-04-30 15:43:09] slowchaos at msn dot com

Update.... I have Apached 2.2.15 and PHP 5.3.2 running just fine (WinXP
system). I'm not sure of the difference in 5.2 and 5.3 - I'm not a nuts
and bolts php guy - but all is now well in my world :)

------------------------------------------------------------------------


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/bug.php?id=51298


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51298&edit=1


Thread (61 messages)

« previous php.bugs (#150887) next »