Kendor
Kendor

Reputation: 141

Which version of PHP for Windows CLI based use?

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?

Upvotes: 1

Views: 671

Answers (2)

Kendor
Kendor

Reputation: 141

From PHP Freaks Forums:

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.

Upvotes: 2

oxygen
oxygen

Reputation: 6039

PHP downloads page

Don't forget to add PHP to the system path.

Upvotes: 0

Related Questions