http://phpuser.com/download/files/dev-tool/phpcompiler/
should do the trick🙂 Be warned though:
1) this isn't a "compiler", it's an overlay manager and works by grafting your script into a copy of php.exe
2) the developer of this program has seemingly dropped completely off the radar screen
3) as a result of 2, expect no support and consider this a dead project
4) it will only "compile" PHP apps to display command line output
5) it will not "compile" PHP-GTK apps using php-gtk v0.1 or later
6) it will not "compile" scripts exceeding ~8 - 10 KB in size
7) it does not create an independent exe (you must still distribute php4ts.dll, php.ini, and any extension dll's)
The source can also be downloaded from the address above, in case you want to try and fix any of the issues I mentioned above🙂. HTH.
Geoff A. Virgo