Error Reporting Linux
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more php.ini in centos about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users centos php error log Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each php enable error reporting other. Join them; it only takes a minute: Sign up enable error reporting for apache server in linux up vote 0 down vote favorite I've created a php file in my localhost, but when I tried to test restart apache ubuntu it I got this message from navigator : Server error The website encountered an error while retrieving http://localhost/ex_exam_2012/affiche_note.php?cin=SY3422. It may be down for maintenance or configured incorrectly. normally apache server should show me where there is the probelm, in Windows I never got this problem, but this is my first time to test a php file in Linux, I Gooled about itg and I founs this question to enable displaying errors : PHP production server - turn
Error_reporting
on error messages So I changed this to values : error_reporting = E_ALL And : display_errors = On but I still have that probelm, how can I solve it ? php linux apache share|improve this question asked Apr 21 '13 at 17:22 user2280288 2728 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote That's just a generic message that tells you there was a problem. You need to look at Apache's error_log file to find out what happened. It's often found in /var/log/apache, but different Linux distributions sometimes change the location of this error log. share|improve this answer answered Apr 21 '13 at 17:37 user166560 I want apache to show me the error in navigator as in Windows –user2280288 Apr 21 '13 at 17:47 What's "navigator"? Are you talking about the web browser? It won't show you internal server errors like that in the browser (even in Windows). –user166560 Apr 21 '13 at 17:52 for example if there is some error in some variable declaration, when I test the page he shows me that there is a probelm with that variable and the line where there is the ptoblem –user2280288 Apr 21 '13 at 18:17 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook S
ISPConfig Developer How can i enable this so it will display the errors in my php scripts and not just a blank page. zer0_g666, Jan 24, 2006 #1 till Super Moderator Staff Member ISPConfig Developer Search for your php.ini, e.g with the connad locate: locate.php.ini Its the file located under /etc/.... Open the file with an editor and and set: error_reporting = E_ALL To see all errors and notices or a more usable setting is: error_reporting = http://stackoverflow.com/questions/16134000/enable-error-reporting-for-apache-server-in-linux E_ALL & ~E_NOTICE & ~E_STRICT which shows only errors that stop your script. Then restart your apache webserver. till, Jan 24, 2006 #2 zer0_g666 ISPConfig Developer ISPConfig Developer Was already set so i changed display_errors = On ... thanks zer0_g666, Jan 24, 2006 #3 (You must log in or sign up to reply here.) https://www.howtoforge.com/community/threads/php-error-reporting.2218/ Show Ignored Content Share This Page Tweet Log in with Facebook Log in with Twitter Log in with Google Your name or email address: Do you already have an account? No, create an account now. Yes, my password is: Forgot your password? Stay logged in Sign up now! Forum Statistics Discussions: 53,553 Messages: 284,027 Members: 91,714 Latest Member: Mantic0re Share This Page Tweet Howtoforge - Linux Howtos and Tutorials Home Forums > ISPConfig 2 > Installation/Configuration > English | Deutsch Tutorials Tags Forums Forums Quick Links Search Forums Recent Posts Members Members Quick Links Notable Members Current Visitors Recent Activity New Profile Posts Contribute Subscribe ISPConfig News Menu Search Search titles only Posted by Member: Separate names with a comma. Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... Xenforo skin by Xenfocus Contact Us Help Imprint Home Top RSS Terms and Rules Forum software by XenForo™ ©2010-2014 XenForo Ltd. Tac Anti Spam from Surrey Forum
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation https://ubuntuforums.org/showthread.php?t=961202 User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community https://www.redhat.com/archives/redhat-list/2012-March/msg00003.html Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Enabling PHP error reporting in Apache Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is error reporting the place to report it, thanks ! Page 1 of 2 12 Last Jump to page: Results 1 to 10 of 11 Thread: Enabling PHP error reporting in Apache Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode October 28th, 2008 #1 xpasi View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Sep 2008 Beans 7 error reporting linux Enabling PHP error reporting in Apache Hi, For some reason I can't seem to enable the apache PHP error reporting on my dev box in Ubuntu Hardy. I'd like the PHP error to print inline to the HTML so I can better trace where things go wrong... currently no error messages are being displayed, and it gets a bit frustrating trying to find whats wrong ... I've tried to set all the php.ini settings to enabled as well as things in apache configuration, but nothing seems to make any difference! and yes, I've restarted apache (and sometimes even the whole machine) after changes Adv Reply October 28th, 2008 #2 conjur3r View Profile View Forum Posts Private Message Visit Homepage Tea Glorious Tea! Join Date Dec 2006 Location Canberra, AUS Beans 366 DistroHardy Heron (Ubuntu Development) Re: Enabling PHP error reporting in Apache Create a blank php page with the following: This will tell you what php configuration you currently have. You can use this to confirm that you are actually editing the correct php.ini file, and/or that your changes are being reflected upon apache restarts. If everything appears to be ok, how about adding the following to the top of your PHP file to see if it prints err
Hat Linux discussion list