Enable PHP Functions exec() proc_open() and system()

  Print

Enable PHP Functions exec() proc_open() and system()


Web and Reseller Hosting

PHP is regarded as the most insecure technology on the internet, which makes it dangerous, especially as most websites are built using PHP. Web builders like WordPress, Joomla, Magento and most others are essentially applications made using PHP.


A small number of PHP functions, including exec() proc_open() and system(), are disabled on our Personal, Business and Reseller hosting servers. As these are shared hosting servers, they contain multiple cPanel accounts and clients on each server. To maintain the security of our clients, their emails and websites (almost all of which are businesses) we have to maintain a strict security policy and aren't able to enable them for any individual users or cPanel accounts.


The list of disabled functions is based on up to date security recommendations by the cPanel company. Almost all hosting companies which use cPanel will have a similar security protocol in this regard.


The functions are most commonly used by minor plugins and themes for WordPress, Joomla or alternatives. The best option, in this case, would be to look for an alternate plugin or theme which doesn't have those requirements.


If you absolutely need the use of disabled PHP functions, you will need to consider moving your website to a VPS or Blaze server. On these environments, your website has its own dedicated environment, which lessens the security risk those functions present (although a risk to your website still exists).


You can find details of our VPS and Blaze Server products here:


https://www.crucial.com.au/vps/

https://www.crucial.com.au/vps/blaze-business-ssd-vps/


VPS & Blaze Servers

NOTE: On a Managed VPS you'll need to submit a support ticket through https://control.crucial.com.au/clientarea.php and request we enable these functions for you.


Step 1 - Log in to WHM and go to the MultiPHP INI Editor menu

cfe9d67201f957ab3915bb347066bcddf2b85391?t=5fed54452f9a0c9d212d0a1cccdd26cb


Step 2 - (1) Click on Editor Mode (2) Select the PHP version you want to enable the module for (3) Fid the disable_functions line and remove the function you want to enable (4) click Save

68bbfa7221f844f8ca4ec584c41308d30fc83035?t=1a033e4f8aff9efc760ca8b3cb5ea600




Thank you for your feedback on this article.

Related Articles

© Crucial