LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-30-2007, 01:37 PM   #1
nan0meter
Member
 
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:

Code:
<?php
    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
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to edit your php.ini file and enable the option to display errors.
 
Old 08-30-2007, 05:25 PM   #3
nan0meter
Member
 
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

Code:
display_errors = On
 
  


Reply

Tags
apache2, debug, php



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:04 PM.

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