Re: Compiling PHP scripts
| From: | Markus Fischer | Date: | Wed, 28 Nov 2001 23:13:36 +0000 |
| Subject: | Re: Compiling PHP scripts | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-755@lists.php.net to get a copy of this message | ||
APC, the alternative php cache, actuall does encoding the
source files (I was told from George, one of its developers,
it does so; or at least I understood it that way ;). This
one's opensrouce so someone with not-too-rusty C knowledge
could reuse the code for it.
But yeah, just found this in the APC FAQ:
The APC cache works by storing the compiled instructions for
a PHP script in shared memory (either SystemV shared memory
or memory-mapped files). When a file is run, the extension
checks to see if it is cached. If so, the instructions are
read from memory and the compilation step is bypassed.
Otherwise the file is compiled as usual and inserted into the
cache.
So, don't store it in SHM but write it to the disc and feed
it to the zend engine (sounds easy ;).
- Markus
On Wed, Nov 28, 2001 at 09:16:49AM -0800, pqadmin@physicianquest.com wrote :
>
> Does anyone know of a way to compile a *PHP-GTK* script. Zend Enc. is
> incompatible, POBS takes to much damn work do get it to run right, and
> PHPCompiler just doesnt seem to work...
>
> Didnt someone post a while back on taking over the code work for
> PHPCompiler?
>
> My PHP-GTK app I need to encode/compile/overlay (whatever) is about
> 15,000+ lines of code...
>
> TIA
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Please always Cc to me when replying to me on the lists.