Hosting used in my case: Krystal

WordPress Version: 4.8.1

500 Internal Server Error or HTTP Error 500 can be easily solved on a fresh install. If you are activating WooCommerce and you are receiving HTTP Error 500, error this may be due to unsupported PHP Version. Follow these simple steps:

Increase .htaccess memory limit

  1. Go to your cPanel, access File Manager.
  2. Locate your public_html and or your wordpress installation.
  3. In the right top hand corner click on Settings.
  4. Tick Show Hidden Files (dotfiles) and Save.
  5. Now you should see your .htaccess file if not, create one by writing .htaccess as the name.
  6. Edit the .htaccess by right clicking and clicking on Edit.
  7. Paste the following codes inside that file. Then save it.

php_value memory_limit 256
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 1000

 



Increase memory limit with php.in

Following the same procedure as above add the following in php.ini

memory_limit = 256M
upload_max_size = 64M
post_max_size = 64M
upload_max_filesize = 64M
max_execution_time = 300
max_input_time = 1000

 

PHP Version

Final step, make sure you are running php 7.0 or above.

  1. In your cPanel, access Select PHP Version
  2. If your current php version is below 7.0 change it to 7.0 or above (ie 7.1)
  3. Now, click on Switch To PHP Options
  4. You will see the max_execution_time parameters. Double click on the number and change it to preferably 300.
  5. Now save it and WooCommerce should now work.

 

If you need any help, email our web design team office@acreativestudio.co.uk or call London wordpress team on 0203 813 3284. We are more than happy to help you! Good luck!

Message us!

We are happy to hear from you. <p style="color:#00FF3A; padding:0px;">Now Online</p>