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

 ID:               51298
 Comment by:       peter dot martin at spam dot la
 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:

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...:)


Previous Comments:
------------------------------------------------------------------------
[2010-05-19 17:18:00] paj...@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 :)

------------------------------------------------------------------------
[2010-04-30 06:55:02] slowchaos at msn dot com

Had this problem with Apache 2.2.15 and PHP 5.2.13. Tried rolling back
to earlier versions of PHP - back to PHP 5.2.10. Same thing. Rolled back
to Apache 2.2.14 - still same issue. My apache crashes when trying to
enable mysqli or mysql extension. System path is correct. Libmysql is in
appropriate place. Mcrypt also crashes the server as well as a few
others.

------------------------------------------------------------------------
[2010-04-20 01:48:09] paj...@php.net

It happens to be a date bug (thread safety issue). We are trying to get
a fix as soon as possible.

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


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

Reply via email to