RE: [PHP] run safe_mysqld from php code *urgent*

From: Date: Thu, 15 Feb 2001 23:08:04 +0000
Subject: RE: [PHP] run safe_mysqld from php code *urgent*
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39998@lists.php.net to get a copy of this message
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:noahsw@studentcenter.org] Sent: Thursday, February 15, 2001 3:45 PM To: php-general@lists.php.net 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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#39998) next »