Re: How to create and exe file on Windows with Bcompiler ?
| From: | Eric Colinet | Date: | Sat, 15 Jan 2005 19:04:41 +0000 |
| Subject: | Re: How to create and exe file on Windows with Bcompiler ? | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1798@lists.php.net to get a copy of this message | ||
Hi Kioto,
bcompiler is not a compiler the way you think it is since it doesn't produce an executable file. It's purpose is to write out an encoded representation of the bytecode (ie: the result of the internal compilation of a script, just before it's execution).
To create a self executable there is multiple ways, one of wich could be using the embed sapi and win32std.
The idea is to use the resources of Windows binaries to store the PHP scripts (that can be 'compiled' using bcompiler).
You can find an HOWTO on my wiki:
http://wildphp.free.fr/wiki/doku.php?id=howto:embeding_a_php_source_into_a_windows_executable_file
Hope you'll find that usefull :-)
Eric
kioto wrote:
Hi all, i want create an executable file for a PHP-GTk script on windows it's possible with Bcompiler ? I must solve this poblem because cannot use the php interpreter from the command-line i want create a stand alone application. Thanks so much to all.