Results 1 to 3 of 3
HI,
i am new to linux , i have installed fedora14 on my system, while running the php programs errors are not displaying on the browser. kindly can u help ...
- 02-08-2011 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 1
enable php errors
HI,
i am new to linux , i have installed fedora14 on my system, while running the php programs errors are not displaying on the browser. kindly can u help me out to display the error while running on the browser at localhost.
- 02-08-2011 #2Just Joined!
- Join Date
- Nov 2010
- Posts
- 61
it is enabled but stored in a log file that you access through a terminal .
type (as root) "tail -f /var/log/httpd/error_log" and errors will be listed there an new errors as an when they occur will pop into it.
- 02-08-2011 #3
To enable displaying errors on browser, you must do:
vi /etc/php.ini
Change "display_errors" to on.
Then restart apache. Would be /etc/init.d/httpd restart or /etc/init.d/apache restart


Reply With Quote