Re: PHP 5.3.3 Crashes on Win7 (RESOLVED) [message #169994 is a reply to message #169957] |
Sun, 03 October 2010 20:36 |
Bob Smith
Messages: 11 Registered: October 2010
Karma:
|
Junior Member |
|
|
On 10/1/2010 5:29 PM, Bob Smith wrote:
> Running version 5.3.3 (cli) on Win7/64 runs well from the cmd.exe line
> after a virgin install.
>
> Including ANY DLL in the [PHP] section of the php.ini file even if it
> doesn't exist (e.g. extension=php_foo.dll) crashes PHP (e.g. php
> --version) in php5ts.dll as in
[...]
This issue appears to be resolved as follows:
1. Install PHP from the .zip file, not the .msi file. The .zip file
has more DLLs in it which you might need (such as php_sqlite3).
2. Use compatible versions of needed DLLs. I made the mistake of using
the DLLs in PECL 5.2.6 which are not compatible with 5.3.3. In
particular, when using the 5.2.6 DLLs and setting
display_startup_errors = On
in php.ini, it popped up with the message
PHP Startup: ssh2: Unable to initialize module
Module compiled with API=20060613
PHP compiled with API=20090626
These options need to match
I then used php_ssh2.dll from
http://downloads.php.net/pierre/php_ssh2-svn20091128-5.3-vc9-x86.zip
saved it in my PHP\ext\ folder at which point with
extension=php_ssh2.dll
in php.ini
things such as php --version work whereas previously it crashed.
Alas, using a non-existent DLL such as
extension=php_foo.dll
still crashes php which is very rude.
--
_________________________________________
Bob Smith -- bsmith(at)sudleydeplacespam(dot)com
To reply to me directly, delete "despam".
|
|
|