Thursday, July 9, 2009

I Have a Problem with My PHP?

I saw an error on my php. When I type php -v, I saw this message:


PHP 5.2.5 %26lt;cli%26gt; %26lt;built: Nov 8 2007 23:18:51%26gt;


Copyright %26lt;c%26gt; 1997-2007 The PHP Group


Zend Engine v2.2.0, Copyright %26lt;c%26gt; 1998-2007 Zend Technologies


Error in my_thread_gobal_end(); 1 threads didn't exit


when I was using php with IIS 5.1 on xp, I saw the same error.


So what should I do?

I Have a Problem with My PHP?
the CLI settings have nothing to do with the http settings. It looks like you are using a php.ini configured for http, specifically IIS, and are running the command line version of php with it. you can't do both. download a new php.ini for your cli environment.





if you are getting the same error in your http server then do not use the cgi version. instead, use the recommended settings for your specific server environment located in the installation files of your php bundle.


No comments:

Post a Comment