Hello Reader's!
If you need to access your error log files in php then using Linux you can browser it as follows:-
abhishek@roor /var $ sudo updatedb
[sudo] password for abhishek:
abhishek@roor /var $ sudo locate error_log
/var/log/httpd/error&_log
An you can also see it the path below:-
/var/log/apache2/error_log
And for any other envrionment you can create the page name info.php and paste the code below:-
<?php
info()
?>
Now when you run this, you just have to look for error log file path and you can get it there.
0 Comment(s)