Troubleshooting WordPress installation on GoDaddy VPS

Octocat Save up to a workweek a year by efficiently managing your coding bookmarks, aka #codingmarks, on Share your favorites with the community and they will be published weekly on Github. Help us build the programming-resources location - Star

My first entry in the blogosphere is not “About us”, but about the problems I encountered trying to install WordPress on my GoDaddy Virtual Private Server (VPS).

For the installation I followed the steps from Installing WordPress. Everything went fine until Step 5: Run the Install Script. After calling , my excitement to have finished quickly finished the installation was ruined by the infamous

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

After spending a couple of hours researching the logs and the web it occured to me I had uploaded the files to my webserver via SSH and all the wordpress files had the owner and group set to root. My PHP 5 handler was set to suphp. After correcting the user and owner as the ones specified in my virtual host configuration for the domain:

UserDir enabled my_user
<IfModule mod_suphp.c>
	suPHP_UserGroup my_user my_user

, this problem was solved.

But when trying run the install script again, I got another infamous HTTP error code – 403

You don’t have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

The cause was the same – uploading the files over SSH and not having the right file permissions. After setting the proper file permissions the problem was solved.

My third attempt to execute the install script ended also in failure – this time

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

Uncommenting the mysql extensions in php.ini did not help alone


I also had to recompile Apache with EasyApache and check MySql options from Exhaustive Options List:


Lucky number four – installation was successful, but as you can see I am still using the default WordPress theme and didn’t have enough time to edit anything as I have a plane to catch in two hours. But I promise to come back soon with an “About us” page and more coding related posts…

Adrian Matei

Adrian Matei
Life force expressing itself as a coding capable human being

How I save a workweek a year by efficiently managing my codingmarks

Finding a desired link, you already visited, can be a tedious job and sometimes even frustrating. It normally takes 30 seconds or more to look for a link the traditional way, and I do that at least 20 times a day. With it takes about 10 seconds, so I get a time saving of around 20 * 20 / 60 = 6.66 minutes a day. Over a year's time this translates to around 40+ hours of saved time. Continue reading

New codingmarks published in week 52 of 2018

Published on January 01, 2019