Minimal PHP compile
Posted 27 September 2005 - 12:27 PM
I admit I'm n00b on this kind of operations, and I hope I'm on the right place.
I run a MAME (the arcade emulator) related site, with searchable database etc. Now I wanted to make a php based MAME frontend that could be downloaded by users, run the mame.exe with a passthru or an exec command (the one that will fit better) etc., to be run locally and dialogue with the online mysql based database to exchange infos. The structure is already done, it works fine, but it only has a "small problem": The size. The frontend by itself is a small bunch of php pages, but if I want to distribute it "to the masses" it would mean to download and install the whole php-apache-mysql thing, plus the setting it up (and this may not be easy for unexperienced users...)
What I wanted to know is (some advices, just to know if it is possible, before i become crazy to discover after a sleepless research week that it cannot be done....): is it possible to compile a minimal php environement, with a very small php.exe and (all the rest).exe including only the instructions I need, so to reduce the size of the compiled distributable binary to the max?
Any advice is welcome.
Posted 05 October 2005 - 08:13 PM
So what you want to do can be done.
Posted 24 October 2005 - 08:06 AM
Many thansk again!
Posted 25 October 2005 - 12:14 PM
Posted 05 April 2006 - 10:04 PM
Is there a way of compiling everything such that my source code (for the php files) would be safe and won't be tampered with accidentally by somebody?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users