Jump to content

Which version of PHP for Windows CLI based use?


Recommended Posts

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?

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.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.