Testing: Difference between revisions

Jump to navigation Jump to search
158 bytes added ,  9 April 2011
Line 48: Line 48:


* [http://www.php.net/ PHP] log: check the configuration file: /etc/php.ini (the location of configuration file can be verified by [http://php.net/manual/en/function.phpinfo.php phpinfo()] )
* [http://www.php.net/ PHP] log: check the configuration file: /etc/php.ini (the location of configuration file can be verified by [http://php.net/manual/en/function.phpinfo.php phpinfo()] )
** unmark theese lines in the php.ini and restart Apache service
(for production site) unmark theese lines in the php.ini and restart Apache service
<pre>
<pre>
log_errors = On
log_errors = On
error_log = "php_error.log"
error_log = "php_error.log"
</pre>
</pre>
(for development site) using [http://php.net/manual/en/function.error-reporting.php error_reporting]
<pre>
error_reporting(E_ALL);
</pre>
* [http://www.iis.net/ Microsoft Internet Information Services] (IIS) log (記錄檔)
* [http://www.iis.net/ Microsoft Internet Information Services] (IIS) log (記錄檔)
**  C:\WINDOWS\system32\LogFiles\
**  C:\WINDOWS\system32\LogFiles\

Navigation menu