vee vee - 11 months ago 53
PHP Question

How to run .phar from anywhere on Windows?

I have .phar file and i want to run it from anywhere with this command.

php file.phar --options

where file.phar is in C:\my-php-cli\file

Answer Source

You would need to add the folder containing file.phar to your path variable.

See this link for more information.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download