Enable shell_exec() in wamp server

后端 未结 10 1877
臣服心动
臣服心动 2021-01-05 17:22

Recently I have passed one issue on wamp server..I need to use the shell_exec() function in PHP for running some external shell script (some checksum file) . Bu

10条回答
  •  迷失自我
    2021-01-05 18:13

    have you tried backticks? (in case safemode is OFF)

    `ls -hal`
    

    Windows equivalent would be

    `dir \AH`
    

提交回复
热议问题