函数参考
PHP Manual

Program Execution Functions

简介

Those functions provide means to execute commands on the system itself, and means to secure such commands.

需求

要编译本扩展模块无需外部库文件。

安装

本扩展模块作为 PHP 内核的一部分,无需安装即可使用。

运行时配置

本扩展模块在 php.ini 中未定义任何配置选项。

资源类型

This extension defines a process resource, returned by proc_open().

预定义常量

本扩展模块未定义任何常量。

注释

Warning

Open files with lock (especially open sessions) should be closed before executing a program in the background.

参见

These functions are also closely related to the backtick operator. Also, while in 安全模式 you must consider the safe_mode_exec_dir directive.

Table of Contents


函数参考
PHP Manual