#39581 [NoF->Bgs]: Apache crash on php5ts.dll

From: Date: Sun, 01 Nov 2009 19:25:59 +0000
Subject: #39581 [NoF->Bgs]: Apache crash on php5ts.dll
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-144137@lists.php.net to get a copy of this message
ID: 39581 Updated by: pajoye@php.net Reported By: durumdara at gmail dot com -Status: No Feedback +Status: Bogus Bug Type: Apache2 related Operating System: win2k3 sp1 PHP Version: 5.2.0 New Comment: DLL mess. no bug > bogus. Previous Comments: ------------------------------------------------------------------------ [2009-11-01 19:21:23] info at silkcode dot com Guys, after hours of investigations I finally found the reason - old DLLs in system32 - so just copy all DLLs from your latest PHP distribution into system32 - they'll overwrite the potentially old ones. These olds were present from earlier dances with old PHP versions. Regards, hope this helps, too easy. ------------------------------------------------------------------------ [2007-12-20 12:02:35] azatyar at gmail dot com You should disable the following module (php.ini): ;extension=php_threads.dll After that the Apache won't. p.s. php 5.2.5, apache 2.2.6. ------------------------------------------------------------------------ [2007-02-07 14:42:27] abel dot online at xs4all dot nl This bug appeared next to impossible to workaround. However, after several hours, I found that the following sequence of actions removed the error. I assume W2K3, PHP52 and MySql50. 1) Install using the wizard, set option for integrating in Apache 2.2, do NOT set any extensions. 2) Restart Apache and test its stability 3) Run the wizard again. Now install ONE/TWO extension(s), only "MySql" and/or "MySqli". 4) Manually edit php.ini (in c:\program files\php). Change the line with the ext-dir to (including quotes): extension_dir="C:\Program Files\PHP\ext" 5) Uncomment the line with php_mysql.dll 6) Restart Apache and test (careful, gently, php may crash again!) It worked for me. Any other sequence of actions, including installing some other extensions, crashed it. Selecting all extensions always crashed Apache in php5ts.dll (I consider it a severe bug, because it php actually crashes its host Apache, which is evil). ------------------------------------------------------------------------ [2006-12-22 10:15:16] johnr at silver-bullet dot co dot nz I had EXACTLY the same issue. Same error when installing PHP, etc. When I went to uninstall I noticed thaat I had TWO versions of PHP installed... 4.3 and 5.2. I uninstalled both and then reinstalled PHP 5.2 and everything worked sweet. BUT I also ONLY installed the MySQL extension the second time around so was the answer having two versions installed or was it one of the extensions? ------------------------------------------------------------------------ [2006-12-06 20:44:41] jason dot egan at gmail dot com swummer, would you mind clarifying that a little? My current install uses php5apache2_2.dll as the default file name. I've gone ahead and changed it to php5apache2.dll, updated my httpd.conf, and restarted the server. I still have the same issues no matter how it is named. ------------------------------------------------------------------------ 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/39581 -- Edit this bug report at http://bugs.php.net/?id=39581&edit=1

« previous php.bugs (#144137) next »