Question: can php be used for desktop applications?
Answer: its possible to make desktop applications using php. You can run your php independent of you apache server. Yes, you can use bcompiler to enable the production of php-gtk applications that could be used on client desktops, without the need for a php.exe.