- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- I'm looking for a PHP script to start process on l...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2004 06:01 AM
тАО01-10-2004 06:01 AM
I'm looking for a PHP script
using using exec command,
to start process on linux server,
like cisco vpn client:
/etc/init.d/vpnclient_init restart
from client via browser.
best regards
cc
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2004 10:42 AM
тАО01-10-2004 10:42 AM
Re: I'm looking for a PHP script to start process on linux server
I think, you find here what you are looking for:
http://www.php.net/manual/en/ref.exec.php
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2004 02:51 AM
тАО01-14-2004 02:51 AM
Re: I'm looking for a PHP script to start process on linux server
thanks
chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 12:15 PM
тАО02-19-2004 12:15 PM
Re: I'm looking for a PHP script to start process on linux server
it works only if I start the script from shell but still doesn't work via browser
any idea ?
regards
chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 12:22 PM
тАО02-19-2004 12:22 PM
SolutionWhen your Web server tries to start the daemon, it will launch as the apache/www user, not as a 'root' or the normal user.
You either need to suid wrap the start routine (using a perl suid script), or get the vpnclient_init to work as a user (I don't think that can be done, but I've not tried).
To proove this, log in to your machine, 'su' to your web-server user (www or apache usually), then try '/etc/init.d/vpnclient_init', and see what errors you get.