Portal Home > Knowledgebase > Articles Database > Install errors


Install errors




Posted by Jon12345, 07-07-2010, 07:02 AM
I tried running a script and got the following errors: ini_set() has been disabled for security reasons exec() has been disabled for security reasons in Any idea why? Jon

Posted by Isaac Newton, 07-07-2010, 08:27 AM
You will need to contact your host unless you have root access to the server. These functions has been disabled in your php.ini file. The issue will be fixed once they are removed from the disable_functions list. Thank You.

Posted by Jon12345, 07-07-2010, 08:35 AM
I have WHM. Can I do it from there?

Posted by amnetworx, 07-07-2010, 09:44 AM
You have to SSH to the server as root & locate php.ini. Then make the changes and restart web server. You can use the following command to locate php.ini php -i |grep php.ini To restart web server, use the command /etc/init.d/httpd restart

Posted by Aigen_tech, 07-07-2010, 10:12 AM
No, You cannot do it via WHM. Login to your server using ssh and type the fllowing command This will give path to your php.ini file open the file with vi (vim editor) look for disable_function. Remove the required function from the list. save and exit. Restart apache and you will be good to go

Posted by SimplexWebs, 07-07-2010, 10:15 AM
Actually, you can do it from WHM if you have full WHM permissions. Navigate to Service Configuration -> PHP Configuration Editor -> select 'Switch to Advanced Mode'. You'll find the list of disabled functions there, remove the ones causing you hassle. No need to restart Apache, changes will be applied immediately.

Posted by bvsonline, 07-07-2010, 10:30 AM
Yes it would be easy for you to edit the disable_functions from the WHM:-

Posted by techstar, 07-07-2010, 02:05 PM
Yeah thats right. This is possible only if you have 'root' access in your WHM, ie. only if your username is 'root'.

Posted by david510, 07-07-2010, 02:24 PM
For security reasons don't disable server wide. Disable it for the certain domain. If php is running as apache use php_value inside the .htaccess and if php is running as CGI, use custom php.ini inside the folder where you need these turned off.

Posted by SimplexWebs, 07-07-2010, 03:38 PM
Again, not at all. If you have full WHM permissions you have pretty much full control over the box. Root access isn't needed. Select "All Features (warning: total and complete access)" within reseller privileges.

Posted by techstar, 07-20-2010, 01:47 AM
But to do above the mentioned, you need WHM root access



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
2checkout (Views: 869)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.