← Back

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

subscribe newsletter

Never miss a post

Get free digital marketing intelligence and advice from our experts, directly to your inbox.

WHAT NOW?

If you’d like us to work together on your next project, pick up the phone, let those fingers loose on that keyboard or feel free to pop into the office and meet the team. We love hearing about all projects – large or small – so whatever it is, we’re excited to learn more about it; we even promise to have some chocolate digestives ready and waiting for you.

SAY HELLO

Tel: 01743 272609
Email: studio@vibecreative.co.uk

CONTACT US ONLINE...

Send us a message and we'll give you a call back.

Contact us now