This is an archive of my old website, kept as a snapshot of that time.

[WAMP Server] Run PHP in Command line interface

Go to run –> type ‘cmd’

change directory to the PHP folder. You might have a different version.
cd C:\wamp\bin\php\php5.3.5

Run your PHP command like “php -l file” etc.

Comments

Archived WordPress comments (1)
  1. My project name is a waterpump and i want to run waterpump project product.php file using command line then what i have to write ?