php 通过web重新加载nginx配置

WBOY
Release: 2016-06-02 11:31:15
Original
855 people have browsed it

nginxphp

在linux下我同过php命令直接运行test.php文件是可以成功的,但是我同过nginx去访问(也就是浏览器)test.php文件。死活执行不成功。。。test.php文件就一行代码。。。执行重新加载nginx配置的命令system("sudo service nginx restart", $out);。。
哪位大神可以告知下。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!