This is an issue with user permissions.  You *could* create a world
executable suid script that did executed the command.  PHP would then call
that.  This is dangerous though, and I'd avoid it.

-----Original Message-----
From: Student Center [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 3:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP] run safe_mysqld from php code *urgent*


hey guys,
    in order to restart my mysql server i'd like to run safe_mysqld from my
php file. i have this:

`./usr/local/mysql/bin/safe_mysqld`

however when we check the list of processes, safe_mysqld isnt there. what am
i doing wrong? btw, we've tried taking out the period (.) and running exec()
instead

- noah



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to