News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Pierre-Alain Joye's Blog:
Howto use a single php.ini for cli/cgi with htscanner, use 0.7.0 or later
February 19, 2007 @ 08:58:00

Pierre-Alain Joye has posted a quick hit to his blog today about using one php.ini file for both a cli and cgi installation of PHP without it throwing errors for htscanner.

Htscanner reports error during module or request init (returns FAILURE), these errors may be fatal and stop the current executions. This behavior is not desired if you use it in a shell ((if you have only one system php.ini for both cli and cgi or if htscanner is compiled statically). This release brings a new ini settings to solve this problem, stop_on_error.

The solution involves changing the htscanner setting to 0 instead of 1 to return a "SUCCESS" message rather than the errors.

0 comments voice your opinion now!
htscanner single phpini cli cgi hint setting error htscanner single phpini cli cgi hint setting error


blog comments powered by Disqus

Similar Posts

Pierre-Alain Joye's Blog: cache added to htscanner

DevShed: Displaying Meaningful Error Messages when Auto Loading Classes in PHP 5

Pierre-Alain Joye's Blog: Howto use a single php.ini for cli/cgi with htscanner, use 0.7.0 or later

Paul Jones' Blog: Quick Hits: New Solar Blog Entries

Phil Sturgeon's Blog: CodeIgniter on PHP 5.3


Community Events











Don't see your event here?
Let us know!


application hack release opinion package install podcast hhvm unittest language framework facebook component symfony2 composer security introduction series performance database

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework