I have been working with cPanel control panel for a long time.

The PHP version will get changed but will revert once I refresh the cPanel page.

This article discusses exactly how I fixed this issue.

PHP version selector

Lets first take a look at how to change the PHP version on cPanel.

This is standard practice for all hosts providing cPanel hosting including GoDaddy, Hostgator, a2hosting etc.

There will be no downtime.

What Is Sender Policy Framework (SPF) In Email Authentication And How Does It Work

Once confirmed, hey delete this page as showing your configuration publicly is risky.

My site was running on the older version of PHP i.e., PHP 5.4 which became almost obsolete.

Most new WordPress themes and plugins now require newer versions of PHP.

How To Turn Off Safe Search On Google Bing

I decided to upgrade my PHP to 7.0 to be on the safer side although 7.3 is also available.

But it would not stick to the new value.

After researching for some time, I got the problem.

How To Find Recently Watched Videos On Facebook For Desktop Android iOS

cPanel hosts use .htaccess file to save some PHP configurations.

The issue was that I had changed the permissions of .htaccess file to be read-only for all users.

So the system was also not allowed to write into the .htaccess file.

Download Windows 11 IoT Enterprise LTSC ISO

1

Get weekly insights, tips and exclusive content delivered straight to your inbox.

Talk to us straight and get your questions answered right away

Startup folder in all versions of Windows

Download Windows 11 Version 24H2

source: www.itechtics.com