[Resolved] How to Configure Error Log for PHP Errors
I am new to wordpress and php.
I am using apache 2.2, php 5 and wordpress 3.3.2 on windows.
I want to have php errors in a log file. I am adding following lines at the end of wp_config.php file of a newly installed blog:
@ini_set(‘error_log’,’C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\w\php_error.log’);
Then i am adding an error in index.php file of blog and expecting php_error.log will be populated but it is not. Instead, ‘error.log’ file under ‘Apache2.2\logs’ is being populated with error message.
apache service is running from administrator account on a standalone pc.
- The topic ‘[Resolved] How to Configure Error Log for PHP Errors’ is closed to new replies.