I've installed WAMP and it's running on my PC fine, it testing new scripts etc and I've got a number of errors which I fix.
When I go into my error_log file there is nothing there, I know this is wrong
How can I fix this?
Are you sure you are looking at the right file as specified by error_log and that logging of those errors is turned on by log_errors as these directives are defined in your applicable php.ini ?
yes, it's inside my wamp folder
E:\wamp\logs\php_error.log
Hmm was just asking because my wamp by default has the error_log directive commented out, which means the error log ends up in ...wamp\logs\apache_error.log instead
oh wow, do does mine. how do i fix that then?
Find this line:
;error_log = "c:/wamp/logs/php_error.log"
and remove the semi-colon at the front so that it looks like this
error_log = "c:/wamp/logs/php_error.log"
Or whatever drive its installed on (copy pasted from mine)
oh wow - thanks