Apache Internal Server Error Not Logged
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 apache internal server error htaccess Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs apache internal server error php Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, internal server error apache server at port 80 just like you, helping each other. Join them; it only takes a minute: Sign up Apache 500 server error- logs showing nothing [closed] up vote 6 down vote favorite Just after some help with a new installation
Internal Server Error Apache Virtual Host
of PHP. I've setup a new Centos 6.2 server with apache PHP and am having trouble getting errors to show. I've copied all the website application files from a different as well as the folder structure and everything in /etc/httpd/. When I access my site, I get a 500 error, or a blank page. The logs are showing nothing at all, apart form logging the 500 error: [24/Feb/2012:17:33:25 +1100] "GET / HTTP/1.1" 200 - "-" internal server error apache ubuntu "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20100101 Firefox/6.0.1" 405 229 7176 My htaccess looks like this: ErrorDocument 404 /error.php php_flag display_errors on php_flag display_startup_errors on php_flag file_uploads on php_value error_reporting 6143 php_value max_input_time 60 php_value post_max_size 8M php_value upload_max_filesize 2M ~ So errors are turned on... Start of PHP file has: error_reporting(-1); ini_set('display_errors', 1); ini_set('display_startup_errors', 1); and php.ini has error_reporting set to E_ALL. ... yet I am getting errors on the screen for some things (such as not closing a string), but my issues are a bit bigger than i think and i have no idea where to start debugging! So i guess my question is- how do I start debugging a 500 server error? php apache share|improve this question asked Feb 24 '12 at 11:02 Lock 3,00863165 closed as off topic by bahrep, hjpotter92, sylvanaar, rorra, Neolisk Apr 14 '13 at 14:35 Questions on Stack Overflow are expected to relate to programming within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question. 1 You log entry shows a 200 status code. –Bart Apr 14 '13 at 9:0
Help Here Network/Internet HTTP Error 500 with browser, but nothing in Apache logs... Welcome! If this is your first visit, be sure to check out the FAQ. You will have to register before you can post in the forums. (Be aware the forums do not internal server error cgi accept user names with a dash "-") Also, logging in lets you avoid the CAPTCHA verification
Php 500 Server Error
when searching . Select Articles, Forum, or Blog. Posting in the Forums implies acceptance of the Terms and Conditions. Page 1 of 2 12
500 Internal Server Error Apache Php
Last Jump to page: Results 1 to 10 of 12 Thread: HTTP Error 500 with browser, but nothing in Apache logs... Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to http://stackoverflow.com/questions/9429616/apache-500-server-error-logs-showing-nothing Threaded Mode 03-Jun-2013,12:41 #1 brasto1972 View Profile View Forum Posts View Blog Entries View Articles Newcomer Join Date Nov 2009 Location Magna, UT Posts 48 HTTP Error 500 with browser, but nothing in Apache logs... I've migrated a couple sites to a new server now, and they are now working fine. I've moved all the files and have the database loaded for a third site, and I get "HTTP Error 500 (Internal Server Error): An unexpected condition was encountered https://forums.opensuse.org/showthread.php/487587-HTTP-Error-500-with-browser-but-nothing-in-Apache-logs while the server was attempting to fulfill the request" when I visit the domain with a web browser, but there is nothing in /var/log/apache2/error_log and although the vhost config file says to use the /var/log/apache2/[domain]/error_log for error logging for this domain, there is nothing there either. The other two sites were drupal installs. This one is a wordpress install. Any ideas? Thank you, Brandon Reply With Quote 03-Jun-2013,12:54 #2 Knurpht View Profile View Forum Posts View Blog Entries Visit Homepage View Articles Global Moderator Join Date Jun 2008 Location Groningen, Netherlands Posts 15,892 Re: HTTP Error 500 with browser, but nothing in Apache logs... Error 500 most of the time is the result of incorrect databast connection / permissions. Make sure database name, database user and permissions are OK. - Athlon X6 3.6 GHz, 16 GB DDR3, 64 GB SSD, 3 TB of disks, GT540, openSUSE Leap 42.1 - ASUS A73SD, Intel + GT610M Optimus, 6 GB, 2 x 120 GB SSD, openSUSE Tumbleweed+Leap Anything that can go wrong.... will teach us http://en.opensuse.org/User:Knurpht http://nl.opensuse.org/Gebruiker:Knurpht Reply With Quote 03-Jun-2013,13:41 #3 brasto1972 View Profile View Forum Posts View Blog Entries View Articles Newcomer Join Date Nov 2009 Location Magna, UT Posts 48 Re: HTTP Error 500 with browser, but nothing in Apache logs... Originally Posted by Knurpht Error 500 most of the time is the result of incorrect databast connection / permissions. Make sure database name, database use
Start 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 http://serverfault.com/questions/665643/apache-500-error-with-no-entries-in-error-log this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can server error answer The best answers are voted up and rise to the top Apache 500 error with no entries in error.log up vote 1 down vote favorite 1 This is on a brand new Ubuntu 14.04 Server running a standard WAMP install with Apache DAV_SVN (using LDAP Authentication) added on top of it (mapped to /svn). I was able to get everything working correctly, and internal server error tested accessing subversion via HTTP and authenticating via LDAP and had no issues. Then, I went into /etc/network/interfaces and changed it from DHCP to use a static IP address (so the DNS server can resolve the hostname for SVN). I performed a reboot on the server, and afterwards any attempt to access /svn result in a 500 error (AFTER providing ldap authentication credentials) - however accessing just / returns the default apache page correctly. However, there is no record of a 500 error in error.log, so I have no way to debug what the error is. I'm not sure if the error is with communicating the credentials to LDAP, with SVN, Apache or what. Update I was able to confirm that going back to DHCP allows SVN to work again, however I need a static IP so I can use hostname routing for SVN - using a dynamic IP for a repository will create a management mess. error.log [Fri Feb 06 10:17:37.915182 2015] [mpm_prefork:notice] [pid 1090] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.3 configured -- resuming normal operations [Fri Feb 06 10:17:37.915260 2015] [core:notice] [pid 1090] AH00094: Command line: '/usr/sbin/apache2' [Fri Feb 06 10:19:45.681937 201