Find the answer to your Linux question:
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 ...
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    1

    Smile 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.

  2. #2
    Just 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.

  3. #3
    Just Joined! rafatmb's Avatar
    Join Date
    Feb 2011
    Location
    Brazil
    Posts
    25
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...