Home >Backend Development >PHP Tutorial >php文件里exec无效

php文件里exec无效

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 20:27:061542browse

想要通过exec运行一个sh,但是没有用。如果用php -r直接在命令行运行倒是可以。

回复内容:

想要通过exec运行一个sh,但是没有用。如果用php -r直接在命令行运行倒是可以。

包含exec函数的php文件权限够吗?

Statement:
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