FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP 5.3.3 Crashes on Win7
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP 5.3.3 Crashes on Win7 (RESOLVED) [message #169994 is a reply to message #169957] Sun, 03 October 2010 20:36 Go to previous message
Bob Smith is currently offline  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".
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is PHP solution for web scripts?
Next Topic: Inserting into associative array
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 01:30:08 GMT 2024

Total time taken to generate the page: 0.07218 seconds