First of all, there isn't a compiler needed to process PHP into an executable format like there is with C or Java. PHP is an interpreted language which means it's compiled at runtime by the interpreter (php.exe). If that's what you were thinking of, you're out of luck.... at lease until Zend releases a bytecode compiler (which I think is in the works). If that's not what you where thinking of, read onπ
There is a program called PHPCompiler, however:
1) the name is a misnomer, it's really an overlay manager... not a "compiler"
2) it's developer, Plot, dropped off the radar screen a copy months back.. consider it a dead project
3) it takes php and php-gtk scripts and tacks them onto the end of a copy of php.exe
4) it cannot buffer more than about 200 lines of script code (approx. 8 - 10 Kπ when "compiling"
5) if scripts are longer than 8 - 10 KB, the exe produced fails because it's missing source code
6) you still need to distribute php.ini, php4ts.dll, and any extension dll's with the exe for the app to work
7) php apps are run in a DOS console, and all output is printed to that console
8) it does not work with versions of php-gtk later than 0.0.4
9) if you're still interested, it can be downloaded from:
http://phpuser.com/download/files/dev-tool/phpcompiler/
HTH.
geoff