How to enabled ini_set() which has been disabled for security reasons Print

  • 9

By default, some php functions has been disabled by admin due to security reasons.
In some cases, you may need to enable it for in order to run your web application or web content.

To do so, please refer following steps:

1. create php.ini file inside your working directory, or directory where you have installed your script. Copy, paste following code and save:

disable_functions = allow_url_fopen, escapeshellarg, escapeshellcmd, ini_alter, passthru, parse_ini_file, popen, proc_open, proc_close, proc_terminate, proc_get_status, proc_nice, readfile, show_source, system

2. Reload your website to see any php errors.

Was this answer helpful?

« Back