Enable Some PHP Functions

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? 0 Users Found This Useful

Related Articles

Zone Editor- A record, CName, etc

Using the Zone Editor in cPanel cPanel provides the ability to maintain your DNS records via the...

Editing php.ini (post_max_size, upload_max_filesize, memory_limit)

Some website scripts require you to have a larger limit to some basic php items then what are...

Resource limit reached

Resource Limit Is Reached The website is temporarily unable to service your request as it...

Enable - Proc_open

Login into your cPanel account and go to " MultiPHP INI Editor", the page should look like the...

How To Reset cPanel / WHM Password Via LiquidWebSpace Client Area

You can reset your own cPanel / WHM password via the client area.  First, head to the product...