hello cartx_child

Knowledgebase

Enable Some PHP Functions

  • 0

How to enable some PHP functions?

For security purposes, we have disabled several PHP functions that are deemed dangerous for most of our clients use. We do not recommend any customers to use them, unless you really need them. The steps to enable them are:

1) Go to ‘MultiPHP INI Editor’ within the cPanel account which you want to enable those on.

2) Click ‘editor mode’

3) Select the directory you want (either home or domain)

4) Copy and paste the following line in the file

disable_functions = system,exec,passthru,shell_exec,proc_open,proc_get_status,proc_terminate,proc_close,virtual,popen,show_source,curl_multi_exec

3) Remove the function you want to enable from the line
4) Click save

 

NOTE:
Enabling any of these functions are extremely dangerous and open up your account to hackers. Do it at your own risk.
Several copies of the php.ini is needed if you need the function to work in multiple directories.


Was this answer helpful?