当前位置:网站首页>php exec、 system 、shell_ Exec cannot be executed. There is no result. The result is nulld. Solution

php exec、 system 、shell_ Exec cannot be executed. There is no result. The result is nulld. Solution

2022-06-21 08:11:00 Still forge ahead

1. see php.ini Whether these functions are disabled :

find disable_functions =

hold exec, system,exec_shell Get rid of , Go where you want to go ;

restart php service , This is an important step

2、 modify cmd.exe File attribute

      Get into C:\WINDOWS\system32, find cmd.exe This file , Right click -> attribute , stay “ Security ” Add to settings Internet Guest account , That is to say IUSR_****** That account , Then endow “ Read and run ”、“ Read ” Authority .

      When this is done ,php You can execute on the server exec The command .

原网站

版权声明
本文为[Still forge ahead]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202221503316891.html