note 101787 added to function.exec
| From: | rhinestorm at hotmail dot com | Date: | Tue, 11 Jan 2011 11:44:03 +0000 |
| Subject: | note 101787 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175628@lists.php.net to get a copy of this message | ||
I couldn't restart Apache via exec() command on Windows platform. I used the line below :
exec("c:/apache/bin/httpd -k restart");
and
system("c:/apache/bin/httpd -k restart");
I couldn't get it done because of some "-" error or sth.
----
Server IP: 69.147.83.197
Probable Submitter: 88.228.53.42
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- https://master.php.net/note/edit/101787
Del: integrated -- https://master.php.net/note/delete/101787/integrated
Del: useless -- https://master.php.net/note/delete/101787/useless
Del: bad code -- https://master.php.net/note/delete/101787/bad+code
Del: spam -- https://master.php.net/note/delete/101787/spam
Del: non-english -- https://master.php.net/note/delete/101787/non-english
Del: in docs -- https://master.php.net/note/delete/101787/in+docs
Del: other reasons-- https://master.php.net/note/delete/101787
Reject -- https://master.php.net/note/reject/101787
Search -- https://master.php.net/manage/user-notes.php