Tuesday, 20 February 2007
How to Use a Single php.ini for CLI or CGI with Htscanner? |
| |
|
| |
Pierre Alain Joye in a post over his blog shows you how to use a single php.ini for CLI or CGI with ‘htscanner’. He says that ‘htscanner’ reports error during module or when request init returns the FAILURE function. He cautions that these errors can be fatal and stop the current executions. The behavior is fatal if you have only one system php.ini for both CLI and CGI or if htscanner is compiled statically, he explains. He says that the ‘htscanner’ 0.7.0 and the later versions have devised new ini settings—stop_on_error.
He describes the process that when it is set to 1 htscanner, it returns a failure command when an error occurs internally like cache, doc_root missing and the like. He says, if it is set to the default, it will return the SUCCESS command and do nothing. He advises that it is useful if you have only one php.ini for CLI and CGI or if you have compiled it statically. |
| |
|
Read the Post
|
| |
|
|
| |
|
|
| |
|