Log in

View Full Version : The exec() function is disabled in your PHP by the disabled_functions parameter in ph



chopficaro
11-06-2010, 01:35 AM
how do i enable exec() in php.ini? where is php.ini? cant find it in the directories in my site.

djr33
11-06-2010, 01:47 AM
It depends on your server configuration. If it is disabled, then this means one of two things: safe mode may be on, or your configuration has specifically disabled exec. Either way, it probably means that your host has intentionally disabled this and you do not have access to change it-- check with your host for more information.
If you installed it yourself, you should be able to fix it, though.

chopficaro
11-06-2010, 02:24 AM
ok well can i at least view the values in php.ini?

chopficaro
11-06-2010, 02:50 AM
<?php
phpinfo();
?>
ok but suppose i override these values with an htaccess file or a second php.ini file. which values will be output

bluewalrus
11-06-2010, 04:02 PM
Is the the same server as the max upload files? If so this is the same problem and you should probably pay for hosting.