1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Rep Power

    Enable exec() on server

    my website includes a script consisting exec(). but i am getting the following error..
    Warning: exec() has been disabled for security reasons in /home/a5889054/public_html/wel_resources/wel_action.php on line 127

    how can i enable exec().
    any help would be appreciated.
  2. #2
  3. --
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Rep Power

    if this is your own server, remove exec from disable_functions in the php.ini.

    If this is a shared host, you're probably out of luck. Your hoster has disabled this function for a reason.
    The 6 worst sins of security How to (properly) access a MySQL database with PHP

    Why cant I use certain words like "drop" as part of my Security Question answers?
    There are certain words used by hackers to try to gain access to systems and manipulate data; therefore, the following words are restricted: "select," "delete," "update," "insert," "drop" and "null".

IMN logo majestic logo threadwatch logo seochat tools logo