Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting PHP to do high level exec() commands?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Does anyone know if its possible to get PHP running in a state where it could do upper level commands like "kill" or service start/stop/reload? Currently in a linux/apache/php setup, they refuse to work. They execute, but nothing takes place, services report a "failed" and other commands simply return nothing. This is using the exec() with optional array for result content.

It has to be a userspace issue, but I am trying to figure out what PHP's problem is, when it is supposedly running with the right privs.

Any Ideas?

On a side note, someone has GOT to fix this forum site, the html design is extremely kindergarten, and poorly constructed. Not to mention the annoying popup ads that periodically kill IE on both mac and PC.

Take a look at how it looks on three of my machines, varying browser: (give or take some oddness between browsers)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top