Share this
If the server has SuPHP installed, edit the .htaccess to include line:
suPHP_ConfigPath /home/username/public_html/folder
Next create a file called php.ini
/home/username/public_html/folder/php.ini
and include the following line
disable_functions =
now in the php script in the folder, the global functions can be used.
However, in modern servers without suPHP. Server admin can use MultiPHP Manager and MultiPhp ini editor on cpanel server to get around it. The web server needs to install several version of PHP. If a user account is trusted, you can assign a version of PHP to that particular domain with the disable_functions excluding the function required.
Categories: Domain Names & Hosting