Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Error 500 (Nginx)

Started by Muut Archive 10 years ago · 3 replies · 531 views
10 years ago

Not seeing an error, just a blank Nginx page.

10 years ago

I'm having the same problem (internal error 500). How did you get your site to work?
I'm running my site on a shared hosting account with cpanel. I have uploaded a php info file and it works (showing php 5.6.18). I had to upgrade to 5.6 because my host's 5.5.3 fails the requirements.

The next step in grav's troubleshooting documentation reads:

Register Globals Issue
Some people who have recently upgraded to PHP 5.5 from version 5.4 or 5.3, may still have some out of date settings in their php.ini file. One item that can cause a 500 Internal Server Error is the register_globals setting. Simply remove or comment out the line:

register_global = On

Sorry, as a newbie coming from wordpress I'm unfamiliar with command lines.
Where do I find the php.ini config file and how do I modify it in a text editor to achieve this? Thanks.

10 years ago

The error 500 is a general server error, the cause may be very different. In this case you are using Apache, not Nginx, and it's all different.

The php.ini location depends on the hosting provider. Check their documentation or open a ticket so you'll know the exact location.

Also, check the server error logs. They might show a message that can help debugging the problem.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1357 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2954 9 years ago
Archive · by Muut Archive, 9 years ago
3 1120 9 years ago