Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Quick Question about PHP Configuration


    I've set up PHP and MySQL, and everything is working well now--except that there is one problem. When I make an error in my PHP source, I don't get any error message in my browser. When I was using the PHP server of my former web host, I got error messages in my browser whenever there was a syntax error in my PHP script. But now, an error simply causes the browser to display a blank page. There is no helpful error message.

    Is there an easy way to adjust the PHP settings so that I get those error messages?

    Thanks for your help.

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    London, UK
    open up your php.ini file, and make sure that:

    1) "error_reporting" = E_ALL

    2) "display_errors" = On

    If PHP is running as an apache module restart Apache for the changes to take effect.

  3. #3
    Thanks Jason. That works beautifully.

  4. $spacer_open

Posting Permissions

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