Shreeprasath Posted September 4, 2019 Share Posted September 4, 2019 Hi Guys, how to execute batch file in wamp server php code. Could you please help on that. Quote Link to comment https://forums.phpfreaks.com/topic/309179-how-to-execute-batch-file-in-wamp-server-php/ Share on other sites More sharing options...
gw1500se Posted September 4, 2019 Share Posted September 4, 2019 Use exec. 1 Quote Link to comment https://forums.phpfreaks.com/topic/309179-how-to-execute-batch-file-in-wamp-server-php/#findComment-1569391 Share on other sites More sharing options...
inversesoft123 Posted September 6, 2019 Share Posted September 6, 2019 As per my understanding you want to concurrently run many files at a same time. This can be achieved by using pThreads. Learn More.. https://www.php.net/manual/en/book.pthreads.php In order to use pthreads you need to compile PHP with ZTS (Zend Thread Safe) Quote Link to comment https://forums.phpfreaks.com/topic/309179-how-to-execute-batch-file-in-wamp-server-php/#findComment-1569440 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.