Not Solved [Error Message] HTTP 500
#14
Not Solved
Locate your php.ini file:

[email protected]:~$ locate php.ini/etc/php5/apache2/php.ini

Edit that file as root:

sudo vi /etc/php5/apache2/php.ini


Find this line in php.ini:

Display_errors = Off


Change the above line to this:

display_errors = On


Lower down in the file you'll see this:

;display_startup_errors;   
Default Value: Off;   
Development Value: On;   
Production Value: Off;error_reporting;   
Default Value: E_ALL & ~E_NOTICE;   
Development Value: E_ALL | E_STRICT;   
Production Value: E_ALL & ~E_DEPRECATED


The semicolons are comments, that means the lines don't take effect. Change those lines so they look like this:

display_startup_errors = On;   
Default Value: Off;   
Development Value: On;   
Production Value: Offerror_reporting = E_ALL;   
Default Value: E_ALL & ~E_NOTICE;   
Development Value: E_ALL | E_STRICT;   
Production Value: E_ALL & ~E_DEPRECATED


Do what you did to cause the 500 Internal Server error again, and check the log:

vi /var/log/apache2/error.log

You should see the 500 error at the end of the log

Owner and operator of Creators Wave
Reply


Messages In This Thread
HTTP 500 - by wargames - 2016-08-01, 05:03 PM
RE: HTTP 500 - by Matt - 2016-08-01, 05:07 PM
RE: HTTP 500 - by wargames - 2016-08-01, 07:33 PM
RE: HTTP 500 - by katos - 2016-08-01, 07:49 PM
RE: HTTP 500 - by wargames - 2016-08-01, 08:08 PM
RE: HTTP 500 - by Matt - 2016-08-01, 08:18 PM
RE: HTTP 500 - by wargames - 2016-08-01, 08:35 PM
RE: HTTP 500 - by katos - 2016-08-01, 08:46 PM
RE: HTTP 500 - by wargames - 2016-08-01, 08:51 PM
RE: HTTP 500 - by Ben - 2016-08-01, 08:53 PM
RE: HTTP 500 - by wargames - 2016-08-01, 08:55 PM
RE: HTTP 500 - by katos - 2016-08-01, 08:56 PM
RE: HTTP 500 - by wargames - 2016-08-01, 09:06 PM
RE: HTTP 500 - by katos - 2016-08-01, 09:12 PM
RE: HTTP 500 - by wargames - 2016-08-01, 09:21 PM
RE: HTTP 500 - by katos - 2016-08-01, 09:23 PM
RE: HTTP 500 - by wargames - 2016-08-01, 09:26 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)