#50149 [Opn->Bgs]: Enabling dynamic extensions make Apache 2.2.14 crash at startup
| From: | pajoye@php.net | Date: | Wed, 25 Nov 2009 06:48:11 +0000 |
| Subject: | #50149 [Opn->Bgs]: Enabling dynamic extensions make Apache 2.2.14 crash at startup | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145054@lists.php.net to get a copy of this message | ||
ID: 50149
Updated by: pajoye@php.net
Reported By: msabatier dot perso at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Dynamic loading
Operating System: win32 only - Windows 7
PHP Version: 5.2.11
New Comment:
Configuration issue, the ext should be added to the PATH.
Previous Comments:
------------------------------------------------------------------------
[2009-11-24 13:17:22] marco at prodacom dot nl
had the same problem on different pc's. Always with this version
5.2.11.
Solved the problem with adding the EXT dirictory also to the %PATH%
statement from Windows. With the Installer only the PHP diriecty wil be
added to the %PATH% not the EXT.
By adding the EXT my problem was on several pc's over.
------------------------------------------------------------------------
[2009-11-12 22:46:36] msabatier dot perso at gmail dot com
Just to be more specific regarding my previous answer I ran the php -i
command without activating any extension in php.ini, otherwise PHP
crashes before giving any output.
------------------------------------------------------------------------
[2009-11-12 22:44:12] msabatier dot perso at gmail dot com
C:\Program Files\PHP>php -i | find "php.ini"
Configuration File (php.ini) Path => C:\Windows
Loaded Configuration File => C:\Program Files\PHP\php.ini
C:\Program Files\PHP>echo %PATH%
C:\Program
Files\PHP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:
\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ATI
Technologies\ATI.
ACE\Core-Static;C:\Program Files\QuickTime\QTSystem\;C:\Program
Files\TortoiseSV
N\bin
------------------------------------------------------------------------
[2009-11-12 21:19:39] pajoye@php.net
pls run:
php -i | find "php.ini"
and paste the result here please, as well as the content of the PATH
variable in the cmd line.
echo %PATH%
------------------------------------------------------------------------
[2009-11-12 21:00:01] msabatier dot perso at gmail dot com
I tried what you asked. Uninstalled PHP 5.2.9, suppressed the PHP dir
and reinstalled 5.2.11.
I got the same issue again.
Issuing
cd c:\php
php -d extension_dir=ext -d extension=php_gd2.dll -m
Gives me a crash of php (the process stops working) without any
message.
Interestingly, if I don't remove the PHP dir after uninstalling PHP
5.2.9, then after installing PHP 5.2.11 everything is working.
------------------------------------------------------------------------
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/50149
--
Edit this bug report at http://bugs.php.net/?id=50149&edit=1