Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005
    WHT, where else?

    how to make sure php exec() is enabled?

    I'm testing the jVideodirect component of Joomla on my VPS, and for some reason, the uploaded videos don't get converted to FLV. I think this may be due to some misconfig of my VPS. maybe php exec() cannot be triggered?

    I also run another video-sharing website (clip bucket script) on the same VPS, and it works fine for the video conversion. - FFMPEG, PHP & RoR Hosting - R/C videos sharing

  2. #2
    I am assuming that you are running this on a linux server.

    You could test the exec function by running the following php script:


    exec("whoami", $ret);

    echo $ret[0];


    This will return the command whoami.

    If it errors out, it is because the exec function could not run.

  3. #3
    Join Date
    Aug 2008
    Right behind you.
    You need to remove exec from php.ini & restart apache.
    Seven years in server management!!.
    Performance exceeds expectation.

Similar Threads

  1. Replies: 0
    Last Post: 08-06-2007, 11:48 AM
  2. Replies: 2
    Last Post: 07-26-2007, 10:54 PM
  3. Replies: 0
    Last Post: 07-04-2007, 05:46 PM
  4. Replies: 1
    Last Post: 12-30-2005, 12:54 AM
  5. PHP: How to disable EXEC COMMANDS THRU PHP ?
    By AvailableHost in forum Hosting Security and Technology
    Replies: 19
    Last Post: 07-08-2005, 10:48 AM

Posting Permissions

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