Page 1 of 1
PHP Code Compiling
Posted: Thu Aug 28, 2008 7:09 am
by mwalstra
Hi there,
We are currently running a linux server that has our php code on it. The requirement has come up that we compile the code.
Does anyone know of any utils out there that we may use to compile the code on the linux machine?
Thanks in advance
Matthew
Re: PHP Code Compiling
Posted: Fri Aug 29, 2008 5:39 am
by chakhar86
See, PHP is intepreter language so it doesn't have to compiled.
If you want to run a PHP code just pass it to PHP engine, on linux just install PHP packages as you need (it may be deb, rpm or even source code (tarball) package, just pick what you needed)
Re: PHP Code Compiling
Posted: Fri Aug 29, 2008 5:52 am
by onion2k
mwalstra wrote:Does anyone know of any utils out there that we may use to compile the code on the linux machine?
Zend encoder (now known as Zend Guard I think) or Ioncube. I think there's a free one as well but I have no idea what it's called.
Re: PHP Code Compiling
Posted: Fri Aug 29, 2008 6:08 am
by Mordred
I haven't tried it, but here's one that claims to compile to native machine code (not interpreted bytecode as zend an ion):
http://www.roadsend.com/home/index.php?pageID=compiler
Re: PHP Code Compiling
Posted: Fri Aug 29, 2008 6:14 am
by mwalstra
hi onion2k & mordred thanks for those i shall be looking into that.
charkar86 i need it to be compiled for security purposes.
