php8.5
Home/ Manual/ reference / exec/ System program execution

System program execution

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

Intro

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

Note

All execution functions call the commands through cmd.exe under Windows. Therefore the user calling these functions needs appropriate privilege to run this command. The only exception is proc_open() with bypass_shell option.

Setup Reference

Source: reference/exec/book.xml · from the official PHP manual (php/doc-en)