Steps to reset PHP configuration for system-level

kumkumsharma

Administrator
Staff member
If you want to reset php.ini file to default settings, then you can follow below steps:

You can reset it for every PHP version like ea-php74, ea-php73 etc.

Code:
ea-phpxx
Here xx is version like 74 version.

First you have to rename ini file and then reinstall the package.

Code:
mv -vi /opt/cpanel/ea-php74/root/etc/php.ini{,.bak}
yum reinstall ea-php74-php-common
 
Top