Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-30-2007, 01:37 PM   #1
Registered: Aug 2007
Location: The Netherlands
Distribution: Fedora 7 x86_64
Posts: 119

Rep: Reputation: 15
Fedora PHP5 Debugging

I run an apache2 server on Fedora 7 x86_64 with php5. Everything is running fine but i can't see any debug output if there are any errors. In my script i tried setting error_reporting(E_ALL) but that makes no difference. For example this normally would give an error but now i got a blank page:

    echo($foo); // $foo is not declared error?
Everything works fine though when there are no errors in the script. I guess debugging mode is off but i don't know how to enable it. Sorry i have to admit, i'm a bit lazy but maybe someone had the same and fixed it you know
Old 08-30-2007, 04:53 PM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
You need to edit your php.ini file and enable the option to display errors.
Old 08-30-2007, 05:25 PM   #3
Registered: Aug 2007
Location: The Netherlands
Distribution: Fedora 7 x86_64
Posts: 119

Original Poster
Rep: Reputation: 15
Lol found it, line 365 for the one's who are interested

display_errors = On


apache2, debug, php

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between kernel - debugging and application debugging topworld Linux - Software 2 03-30-2006 12:50 AM
Visual Debugging and Linux Kernel Debugging Igor007 Programming 0 09-30-2005 10:33 AM
php5 and MySQL 4.1 under Fedora C2 cidrolin Linux - Software 1 12-26-2004 03:06 AM
PHP5.0.0RC3 on Fedora Core 2 aalbre Linux - Newbie 3 10-02-2004 06:57 PM
Apache2 with PHP5 on Fedora C2 cdrobsonjr Linux - Software 5 09-13-2004 05:06 PM

All times are GMT -5. The time now is 01:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration