Php execution shell problem

1, in test.php

clipboard.png

2cli.php

clipboard.png

3

clipboard.png

Why not output 111111

Php
Mar.05,2021

did you give exec execution permission in the configuration file


nginx look without permission
View the users and groups of nginx
visudo
add www-data ALL= (ALL) NOPASSWD:ALL

Menu