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

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.
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

Requires the ionCube PHP Loader

When you use custom php.ini for your web application, you are required to include following...

How to activate Redis cache in Wordpress?

Our web server (cPanel based) setup with redis caching support. As what stated in Redis website,...

CloudLinux Resources Control

WHAT IS CLOUDLINUX?CloudLinux is an operating system that specially designed for shared hosting...

Powered by WHMCompleteSolution