Hello firends !
I would compile my file php under under Linux and in windows xp.
Have you got an idea of this? something free would be nice.
Thanks for any help.
Printable View
Hello firends !
I would compile my file php under under Linux and in windows xp.
Have you got an idea of this? something free would be nice.
Thanks for any help.
Try phc
phc is an open source compiler for PHP with support for plugins. In addition, it can be used to pretty-print or obfuscate PHP code, as a framework for developing applications that process PHP scripts, or to convert PHP into XML and back, enabling processing of PHP scripts using XML tools.
phc for PHP programmers :
- Compile PHP source into an (optimized) executable (supports entire PHP standard library).
- Compile a web application into an (optimized) extension (supports entire PHP standard library).
- Pretty-print PHP code.
- Obfuscate PHP code (--obfuscate flag - experimental).
- Combine many php scripts into a single file (--include flag - experimental).
- Optimize PHP code using classical compiler optimizations (in the dataflow branch - very experimental).
phc for tools developers (See Developers and Contributors):
- Analyse, modify or refactor PHP scripts using C++ plugins.
- Convert PHP into a well-defined XML format, process it with your own tools, and convert it back to PHP.
- Operate on ASTs, simplified ASTs, or 3-address code.
- Analyse or optimize PHP code using an SSA-based IR (in the dataflow branch - very experimental).
The latest phc version is phc-0.2.0.3.tar.gz
More
There is "zend encoder" to compile php page, but it's have a high price.
Go to www.php.net and go to download section , its absolutely free and open source.