View Full Version : PHP file to exe
real_estate
07-22-2006, 06:17 AM
How can i convert a php file to exe format?
You can't. PHP doesn't compile down to a Windows executable format.
Why do you want to do this?
blm126
07-23-2006, 07:16 PM
You can't compile php code,but you can create a Windows executable (http://www.bambalam.se/bamcompile/).
Bambalam PHP EXE Compiler/Embedder is a free command line tool to convert PHP applications to standalone Windows .exe applications. The exe files produced are totally standalone, no need for php dlls etc.
It's NOT really a compiler in the sense that it doesn't produce native machine code from PHP sourcesSo it produces a standalone Windows executable PHP interpreter with some PHP bytecode embedded?
blm126
07-23-2006, 07:51 PM
Yes exactly.It turns out you can compile PHP (http://www.roadsend.com/home/index.php?pageID=compiler) though. It's just expensive.
Hm... interesting idea, but I don't really see the point.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.