Results 1 to 5 of 5

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

  1. #1
    Join Date
    Dec 2009
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default The exec() function is disabled in your PHP by the disabled_functions parameter in ph

    how do i enable exec() in php.ini? where is php.ini? cant find it in the directories in my site.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Dec 2009
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok well can i at least view the values in php.ini?

  4. #4
    Join Date
    Dec 2009
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    <?php
    phpinfo();
    ?>
    ok but suppose i override these values with an htaccess file or a second php.ini file. which values will be output

  5. #5
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Is the the same server as the max upload files? If so this is the same problem and you should probably pay for hosting.
    Corrections to my coding/thoughts welcome.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •