by Gabriel Pioaru | Feb 5, 2018 | WordPress CMS
In case that you can’t use the PHP Version Manager in cPanel, you can change your PHP version by adding a line of code to your .htaccess file of your wordpress website.
To apply these changes you can use a FPT software like FileZilla (this is what i usually use). Locate your .httaccess file and at the top of the document add the following line of code:
AddType application/x-httpd-php71 .php
Or this line of code if the first one doesn’t work for you
Action application/x-httpd-php71 /cgi-sys/php71-fcgi-starter.fcgi
Here is an example
That’s all there is to it.
by Gabriel Pioaru | Oct 18, 2017 | WordPress CMS
In this article i’m going to show you how to fix the divi builder timeout error with a simple line of code. By adding a mod_substitute directive to your .htaccess, you encrease the processing memory for the Divi Builder. Before you start, keep in mind that you should backup your file, before you make any changes.
Go ahead and locate your .htaccess file, open it, and insert the following code at the top of the document.
# BEGIN FIX divi builder timeout error
# END FIX divi builder timeout error
You can read more about mod_substitute directive in apache’s documentation.