kendor Posted May 31, 2012 Share Posted May 31, 2012 I need to run some PHP scripts from the command line on a Windows 2003 server. The server has Apache/Tomcat installed on it, but NOT PHP. The server is running a custom commercial web application and I don't want to touch the Apache/Tomcat configuration on it. We are looking to setup some schedule PHP cURL tasks that we'd run from the Windows task scheduler. Can someone point me to the right download for this? Please be specific: which version? thread-safe, non-thread safe? VC6? VC9? Also, what, if anything else would be need to properly execute cURL in this context? Quote Link to comment https://forums.phpfreaks.com/topic/263450-which-version-of-php-for-windows-cli-based-use/ Share on other sites More sharing options...
kicken Posted June 1, 2012 Share Posted June 1, 2012 For just CLI purposes I'd go with a VC9 build that is non-thread-safe of whatever the most recent version of php is (5.4.3 atm). There is no need for thread safety in CLI since each instance is it's own separate process, and VC9 is a more recent compiler. As far as cURL goes all you should need to do is load the extension dll via the php.ini file settings. Quote Link to comment https://forums.phpfreaks.com/topic/263450-which-version-of-php-for-windows-cli-based-use/#findComment-1350177 Share on other sites More sharing options...
kendor Posted June 1, 2012 Author Share Posted June 1, 2012 Thanks! Exactly what I needed. Quote Link to comment https://forums.phpfreaks.com/topic/263450-which-version-of-php-for-windows-cli-based-use/#findComment-1350182 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.