Posted By Shahid Malla

ini_set() has been disabled for security reasons in cPanel - Shahid Malla - WHMCS Expert Freelancer

In this guide, I will show you how you can fix the int_set() issue in your server. if you do not see in disable functions but still show you the int_set issue, then I have a solution for you.

many hosting providers create a manual file in Cpanel to block such function nnd called it from php.ini .

To Fix Follow:

For example if include file is created like that /opt/cpanel/*/root/etc/php.d/ssp.ini

Run: 
 grep 'ini_set' /opt/cpanel/*/root/etc/php.d/ssp.ini

The output will something like that

/opt/cpanel/ea-php81/root/etc/php.d/ssp.ini: disable_functions = show_source,system,shell_exec,passthru,exec,phpinfo,popen,proc_open,allow_url_fopen,ini_set

Now Modify the file

Run Command

nano /opt/cpanel/ea-php80/root/etc/php.d/ssp.ini

Now Remove the int_set and that’s it! Now ThanKs me Later!

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x