Jump to content

Recommended Posts

I have a dedicated server running Apache and OpenVZ, and would like to run a simple start/stop VPS script through exec, system, or whatever.

 

I have tried ALL of the commands, putting the actual start command inside of a SH file, and CHMODing the files to 777. No luck.

 

How do you execute a command like VZCtl through the PHP functions?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/162677-php-exec-system-shell_exec-urgent/
Share on other sites

Rules

2. Users will not mark their post as being "URGENT" by either making the post ALL CAPS or adding any hint that they need it done Quick or ASAP. All posts are treated equal, your post is no more important than any other user's post on this forum. If it is "URGENT" pay someone to do it.

 

17. Users should not "bump" topics that are still on the first page of the forums. If you bump, you must provide additional information. If you resort to bumping, chances are your question needs to be re-thought and re-described (see Eric Raymond's "How To Ask Questions The Smart Way").

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.