Tag Archives: tutorial

VPS 500 Internal Server Error Dropbox

VPS 500 Internal Server Error Dropbox post will guide you in correcting the server error between your VPS and dropbox using ManageWP services.

Lucky for me I receive great support from Managewp staff. They are unbelievable in the way they provide solutions and the way they help you.

Servers Specs.

  • Centos 6.5
  • WHM 11.44.1 (build 19)

Credit for this tutorial is to be given to the following ManageWP staff for their help.

  • Nemanja
  • Olivera
  • Nebojsa
  • Petar
  • And a special thanks to Bojan for his great sever knowledge

I was having issues delivering my backups between my VPS and Dropbox through Managewp. I was always receiving the following error message. See image below.


VPS 500 Internal Server Error Dropbox Steps

The 500 error seems to be related to the site server timeout that cuts the connection between ManageWP and the site server, but the PHP continues running in the background.

These are some of the suggestions to fix the timeout issue.

1 ) PHP parameters that can cut the running script:

These parameters can be found at php.ini file, usually located in the /etc/php(5)/..

  • max_execution_time: “600″
  • max_input_time: “600″
  • memory_limit: “256M”
  • file_uploads: “On”
  • upload_max_filesize: “20M”
  • post_max_size: “20M”
  • max_file_uploads: “20″

These parameters can be found only if you are using fastcgi, and locations can vary, i suggest searching with find or grep command for those.

  • FcgidIdleTimeout 600
  • FcgidIOTimeout 600
  • FcgidProcessLifeTime 600

Also, check web-server timeouts and configuration, it can be found at /etc/httpd or /etc/apache2 or /etc/nginx depending on which web-server is running.

  • Apache : check timeouts
  • nginx: proxy_read_timeout = 600
  • fastcgi_read_timeout = 600

2 ) The following images illustrates some of the changes made to correct the 500 server timeout issue.

Go to Home -> Server Configuration -> Tweak Settings -> PHP to change the following settings.


Go to Home -> Service Configuration -> Apache Configuration -> Global Configuration to make the following changes.

Note: You can check my previous post vps-server-htaccess-403-error for a visual illustration.


All of the above improved the functionality of the VPS but the error still persisted. The following changes plus the above fixed the 500 error timeout.

3 ) The final changes that finally fixed the issue was made within Apache web-server configuration via terminal, after that everything worked well without any more 500 errors.

To carry out the following changes you need to go to the following path /usr/local/apache/conf/php.conf.

Timeouts Additional Changes:

  • ProcessLifeTime 7200
  • IPCConnectTimeout 600
  • IPCCommTimeout 600

After the above is carried out, reset the PHP and Apache for the configuration to be implemented.

I hope the above helps you with your VPS.

If you have any questions please let me know. I will be updating this tutorial from time to time. Come back to read the latest updates.


VPS Server Htaccess 403 Error

VPS Server Htaccess 403 Error post will share one method I used to troubleshoot the issue on my server.

What was happening is the following, every time I tried to save my permalink structure in my WordPress website it generated a 403 error. Also when I tried to save the permalink structure for an addon domain, it also crashed and generated the 403 error. Another words it could not write to the .htaccess file without generating the 403 error.

In my case the error logs for the 403 error generated was due to the following settings. These are the settings the support staff in Justhost pointed me too. I had to check the following in the WHM called Options – Allow Symlinks.

VPS Server Htaccess 403 Error Fix

1 ) Log in to WHM. Make sure you type the following www.yourdomain.com/whm. In some cases you might need to type your IP address instead of the domain name. The longin Username is always root.


2 ) Go to the following page Home -> Service Configuration. See image below.

vps-server-htaccess-403-error-whm-home3 ) In the following image you will click on Apache Configuration.


4 ) In the following image Apache Configuration click on Global Configuration.

vps-server-htaccess-403-error-whm-global-configuration5 ) You can use the search bar on the upper-right of the page. Search for the word “symlink”. You will see the following option “Directory / Options”. Check the following options and “SymLinksIfOwnerMatch” if you also see the following option “FollowSymLinks” also enable it. Click on Save button check your website and make sure you don’t receive any more 403 errors.


If the above does not work then there might be some other settings or options that you will need to investigate.

This tutorial will be updated from time to time so keep coming back for the latest.

If you have any questions please let me know.


Mbr Solution Host Website Setup

Mbr Solution Host Website Setup shows you how I set up my website for the first time and improved the speed and performance.

Last Updated: November 20, 2017

The first action I took was to sign up for a VPS account through Justhost. I have being with Justhost for about 5 years now. I am very happy with their services and prices.

Mbr Solution Host Setup Review

  • VPS Hosting account Justhost.(Affiliated Link)
  • 1 post
  • 0 pages
  • 3 images
  • 3 plugins installed WordPress SEO by Yoast, ManageWP – Worker and All In One WP Security & Firewall
  • WordPress 3.9.2

The following image Summary displays the following information.

  • Page Speed Grade = F
  • YSlow Grade = (80%)
  • Page load time = .081s very fast
  • Total page size = 277KB good


The following image Breakdown Page Speed displays the following information.

  • Leverage browser caching = F (0)
  • Enable gzip compression = F (5)
  • Minify CSS = F (41)
  • Enable Keep-Alive = E (53)
  • Minify JavaScript = B (81)
  • Defer parsing of JavaScript = B ( 86)
  • Optimize images = B (89)


The following image Breakdown YSlow displays the following information.

  • Add Expires headers = F (0)
  • Compress components with gzip = F (23)
  • Use a Content Delivery Network (CDN) = F (0)


The above images tells you a lot about what is happening with the website and server settings. What I will do first is optimize the website using the following tutorial speed Up Suffusion and WordPress.

I added the following to my .htaccess file.

<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*

# BEGIN Keep-Alive

<ifModule mod_headers.c>
Header set Connection keep-alive

# END Keep-Alive

#Set caching on image files for 11 months
<filesMatch “\.(ico|gif|jpg|png)$”>
ExpiresActive On
ExpiresDefault “access plus 11 month”
Header append Cache-Control “public”

<filesMatch “\.(css|js)$”>
ExpiresActive On
ExpiresDefault “access plus 1 week”
Header append Cache-Control “public”

The following list is what I ended up with to improve my speed and performance.

  • 1 post
  • 2 pages
  • 3 images
  • 8 plugins installed
  • WordPress 3.9.2

The following image Summary displays the final results.

  • Page Speed Grade = A (96%)
  • YSlow Grade = A (96%)
  • Page load time = 0.72s
  • Total page size = 88.4 KB
  • Total number of requests = 9


Latest data checked and date Added May 30, 2017


The following list is what I ended up with to improve my speed and performance.

  • 3 post
  • 7 pages
  • 16 images
  • 16 plugins installed and 14 are active
  • WordPress 4.7.5

Final list of plugins active.

  1. ManageWP – Worker 4.2.18
  2. All In One WP Security 4.2.7
  3. The SEO Framework 2.9.2
  4. Autoptimize 2.1.0
  5. Googleplus, Facebook, Twitter Share Buttons 1.4
  6. Google Authenticator 0.48
  7. Hyper Cache 3.2.6
  8. Plugin Organizer 9.0.4
  9. Fast Secure Contact Form 4.0.51
  10. Speed Booster Pack 3.1
  11. Suffusion Shortcodes 1.05
  12. UpdraftPlus – Backup/Restore 1.13.1
  13. Wp-Insert 2.1.6
  14. WP User Avatar 2.0.8

The following image Summary displays the final results.

  • Page Speed Grade = A (100%)
  • YSlow Grade = A (92%)
  • Page load time = 1.7s
  • Total page size = 161 KB
  • Total number of requests = 12


I hope this helps you.

I will be updating this post from time to time to keep illustrating the latest website performance against the first time review above.