I use PHP for some OS scripting, is there any proper file extension other than .php for PHP cli programs? So I can assign php.exe to run these kind of files directly. Is .phps a good candidate?
I want just CLI programs be opened (by double clicking) by PHP.exe not other php files, so a differnt file extension should be used

phpsindicates to the web server to not execute it, but rather have the contents displayed with syntax highlighting -- the "s" stands for "source". – Izzy Jul 14 '12 at 19:32.phpis the most commonly used extension. – Michael Hampton Jul 15 '12 at 2:57