Enable shell_exec() in wamp server

后端 未结 10 1769
臣服心动
臣服心动 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 17:57

    I think we can use these steps

    1. Open wamp\bin\apache\apache2.4.9\bin(doesn't matter apache version)
    2. Open php.ini file in editor
    3. Search for "disable_functions".
    4. Remove exec and shell_exec from disable function
    5. Restart all services.

    Enjoy!!!

提交回复
热议问题