Bedrock on subdomain 500 Internal Server Error

Howdy,

I use A Small Orange for my shared hosting, and I’m getting a 500 Internal Server Error when attempting to access my straging bedrock setup (dev.timmygelles.com). Steps so far, as per Bedrock’s docs:

  • Cloned the bedrock repo into the subdomain
  • Created a database in cPanel’s MySQL db Wizard
  • Edited the site’s .env file to point to said database
  • Edited config/application.php so it was “staging” environment
  • Pointed the subdomain’s Document Root to public_html/dev/web in cPanel

Here is my .env file:

DB_NAME={name}
DB_USER={username}
DB_PASSWORD={password}
DB_HOST=localhost

WP_ENV=staging
WP_HOME=http://dev.timmygelles.com
WP_SITEURL=http://dev.timmygelles.com/wp

And here are the error logs:

[Tue May 12 09:00:54 2015] [error] [client 128.220.159.33] File does not exist: /home/timmygel/public_html/dev/web/404.shtml, referer: http://dev.timmygelles.com/wp/wp-admin/install.php
[Tue May 12 09:00:54 2015] [error] [client 128.220.159.33] File does not exist: /home/timmygel/public_html/dev/web/favicon.ico, referer: http://dev.timmygelles.com/wp/wp-admin/install.php
[Tue May 12 09:00:54 2015] [error] [client 128.220.159.33] File does not exist: /home/timmygel/public_html/dev/web/500.shtml
[Tue May 12 09:00:54 2015] [error] [client 128.220.159.33] SoftException in Application.cpp:608: Directory “/home/timmygel/public_html/dev/web/wp/wp-admin” is writeable by group

Has anyone else experienced this before? Did you point your subdomain Document Root somewhere else?

Any help is appreciated. Thanks!

As I suspected, it was a permissions issue on my hosting end. The permissions were failing out because the directories were open to be written by the apache user, and it was configured to reject any php that is requesting to be executed while under this.