How To: PHP Script To Windows EXE File Generation Come: script PHP per Windows exe generazione
PHP files are scripts which are interpreted by php interpreter (php.exe in windows). PHP file sono script che sono interpretati da interprete php (php.exe in Windows). Converting them to exe files makes it easy to distribute PHP applications to Windows users. Loro di convertire file exe rende facile per distribuire applicazioni PHP per gli utenti di Windows. Unfortunately Zend, the PHP company, doesn’t provide a way to convert PHP scripts to Windows executables. Purtroppo Zend, la società di PHP, non prevede un modo per convertire a PHP script eseguibili Windows. Today I am going to show you a simple way to convert your PHP scripts to regular Windows executable files (.exe). Oggi sto per mostrarvi un modo semplice per convertire il vostro script PHP per Windows regolari file eseguibili (. Exe). Not only that you can also convert an entire directory of PHP scripts and assign one of the files as the main file to execute first. Non solo che è anche possibile convertire un intero elenco di script PHP e assegnare uno dei file come il file principale per l'esecuzione di prima. Additionally the source files are encoded which not only improves the performance but also protects your source code. Inoltre i file di origine vengono codificati che non solo migliora le prestazioni ma anche protegge il vostro codice sorgente. You can also set the icon for the file which is useful when you are distributing your PHP application as a stand-alone executable. È anche possibile impostare l'icona per il file che è utile quando si sta distribuendo il tuo PHP come applicazione stand-alone eseguibile.
Bambalam PHP EXE Compiler / Embedder is a free command line tool to convert PHP applications to standalone Windows .exe applications. PHP EXE Compiler / Embedder è un libero strumento della riga di comando per convertire applicazioni PHP standalone per Windows. Exe applicazioni. The exe files produced are totally standalone with no need for php dlls etc. The php code is encoded using the Turck MMCache Encode library. Il file exe prodotti sono totalmente standalone senza bisogno di php dlls ecc il codice PHP è codificato usando la Turck MMCache Codifica biblioteca. It’sa perfect solution if you want to distribute your application to Windows users while protecting your source code at the same time. Si tratta di una soluzione perfetta se si desidera distribuire l'applicazione per gli utenti di Windows, proteggendo il vostro codice sorgente allo stesso tempo. The converter is also suitable for producing .exe files for windowed PHP applications (created using, for example, the WinBinder library). Il convertitore è adatto anche per la produzione. Exe finestra per applicazioni PHP (creato utilizzando, per esempio, la biblioteca WinBinder). It’s also good for making stand-alone PHP Socket servers/clients (using the php_sockets.dll extension). È anche buona per fare stand-alone PHP Socket server / client (utilizzando l'estensione php_sockets.dll).
It’s NOT really a compiler in the sense that it doesn’t produce native machine code from PHP sources, but it works! Non è davvero un compilatore, nel senso che non produce codice macchina nativo da PHP fonti, ma funziona! Currently, the converter uses a PHP runtime based on PHP 4.4.4. Attualmente, il convertitore utilizza un runtime di PHP basato su PHP 4.4.4.
The tool is free and open source. Lo strumento è gratuito e open source.
Usage: Utilizzo:
bamcompile [-options] infile.php [outfile.exe] bamcompile [-opzioni] infile.php [outfile.exe]
bamcompile [-options] project_directory mainfile.php [outfile.exe] bamcompile [-opzioni] project_directory mainfile.php [outfile.exe]
bamcompile projectfile.bcp bamcompile projectfile.bcp
Options: Opzioni:
-w Hide console window for windowed applications - w Nascondi finestra di console per applicazioni in finestra
-c Compress output exe (using UPX) - c Comprime uscita exe (utilizzando UPX)
-d Do not encode PHP files - d Non codificare i file PHP
-e:extension.dll Embed and use PHP extension - e: extension.dll Incorpora e l'uso di PHP l'estensione
-i:icon.ico Add icon to exe - i: icon.ico Aggiungi icona per exe
You can download it Potete scaricarlo here qui .
Filed under Elencato sotto Headline News Headline News , How To Come , Microsoft , PHP , Programming Programmazione , Web , Windows | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | questo articolo |
Email this Article Invia questo articolo
You may also like to read Si può anche leggere come |





March 24th, 2008 at 5:11 pm 24 marzo 2008, 5:11 pm
thankss you.. thankss voi .. soo much. Soo molto.
April 12th, 2008 at 8:30 am 12 aprile 2008 alle 8:30 am
Hello, how can I use PHP server to creat a web page please? Ciao, come posso usare il PHP server per creare una pagina web? Steps and requirements. Passi e requisiti. Thanks Grazie