Jump to content

I need a PHP4 windows binary


Recommended Posts

PHP can run scripts from the command line, regardless of the version your have.

 

just run the following command, from the command prompt:

php- h

That will list available flags the PHP executable accepts. For running a php file just run:

php -f C:/path/to/file.php

 

NOTE: you'll need to cd (change directory) to where php.exe is located in order for the php command to be recognised by Windows. If you don't want to do this add PHP to PATH Environment Variable instead.

 

Also have a read of the following page in the manual:

Using PHP from the command line

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.