[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:wampbinphpphp5.3.5Run your PHP command like “php -l file” etc. Get link Facebook X Pinterest Email Other Apps