Run windows command in php

前端 未结 5 920
梦毁少年i
梦毁少年i 2021-02-08 15:20

Is it possible to run windows command line code from php ? My windows command line code is:



        
5条回答
  •  暖寄归人
    2021-02-08 15:44

    I'm using wamp, and the only solution was the followings:

    At Control Panel / Administrative tools / Services, search for wampapache64, httpd, or something like that. On the Log On tab tick the 'allow service to interact with desktop'

    Hope this helps!

提交回复
热议问题