Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-02-04 Thread Hartmut Holzgraefe
Sam Liddicott wrote: have you had a look on php4/Zend/LICENSE lately ? ;) > No I checked the one on the web site, url provided at the time, but you > could stop playing games and get to the point. > > [goes off to check] > I'm not sure which file you mea

RE: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-02-04 Thread Sam Liddicott
-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] > Here we try again) > > > Sam Liddicott wrote: > >>have you had a look on php4/Zend/LICENSE lately ? ;) > > > > Yes, I checked it minutes before sending out my mail. Have you? > > so you've noticed t

RE: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-02-02 Thread Lukas Smith
> > Actually, with all optimizations on, it seems that my site was running > > slower and consuming more CPU cycles when I just used Zend Optimizer. > > Sure, since the compilation takes longer due to the optimizations made. > Using the Zend Optimizer makes only sense if a) your application r

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-02-01 Thread Sebastian Bergmann
Manuel Lemos wrote: > Actually, with all optimizations on, it seems that my site was running > slower and consuming more CPU cycles when I just used Zend Optimizer. Sure, since the compilation takes longer due to the optimizations made. Using the Zend Optimizer makes only sense if a) your app

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-02-01 Thread Manuel Lemos
Hello, George Schlossnagle wrote: > > > - Add an API function that can compile arbitrary PHP scripts. > > How do you want to handle includes or evals in the code to be compiled? > This is a majopr problem I see with a naive standalone compiler. I am not aware. What exactly is the problem? Whe

Re: [PHP-DEV] Re: [Apc-cache] Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-02-01 Thread George Schlossnagle
> Well, George Schlossnagle already proposed to submit APC and other > useful extensions for inclusion in PHP. > > http://news.php.net/article.php?group=php.dev&article=64437 > > > At the time, it was not done because Zeev said it would be necessary to > add a directory in PHP tree for extensions

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-02-01 Thread George Schlossnagle
> - Add an API function that can compile arbitrary PHP scripts. How do you want to handle includes or evals in the code to be compiled? This is a majopr problem I see with a naive standalone compiler. > > - Add an API function for loading arbitrary compiled code. somewhat trickier. > > - If

Re: [PHP-DEV] Re: [Apc-cache] Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-02-01 Thread Brent R. Matzelle
--- "Stig S. Bakken" <[EMAIL PROTECTED]> wrote: > You have of course hit a very weak spot for PHP here. > > I agree that it would be great if PHP bundled a bytecode compiler, > cache, optimizer etc. But the fact is that Zend, who has > contributed no > small part of PHP, depend on selling these

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-02-01 Thread Hartmut Holzgraefe
Sam Liddicott wrote: >>have you had a look on php4/Zend/LICENSE lately ? ;) > > Yes, I checked it minutes before sending out my mail. Have you? so you've noticed the difference between CVS revision 1.5 and 1.6 of that file? -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.six.de +49-711-

RE: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-02-01 Thread Sam Liddicott
-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] > Here we try again) > > > Sam Liddicott wrote: > > > The Zend Open Source license > > http://www.php.net/license/ZendGrant/ZendGrant3.png > > and http://www.php.net/license/ZendGrant/ZendGrant4.png > (see 5a)

Re: [PHP-DEV] Re: [Apc-cache] Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-31 Thread Manuel Lemos
Hello, Sebastian Bergmann wrote: > > Michael Kimsal wrote: > > Perhaps (and I know it's been said before) what is needed is an open > > engine that could interpret and execute PHP separately from the Zend > > engine (although they've done a really good job at speed!) > > The Zend Engine is op

[PHP-DEV] Re: [Apc-cache] Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-31 Thread Manuel Lemos
Hello, Michael Kimsal wrote: > It'd be great if I could run APC and Zend Optimizer together, so people > could run 'compiled' scripts from APC or > Zend Encoder on one server, but I don't think that'll ever happen. At > least not with the current > Zend Engine in PHP. Why not? > Perhaps (and

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-31 Thread Manuel Lemos
Hello, George Schlossnagle wrote: > > > Hello, > > > > George Schlossnagle wrote: > >> > >> APC supports compiled code in the fashion I think you're looking for. > >> There's a README.compiler in the distribution tar ball. > > > > I know, I use APC in MMAP mode and I noticed that it outputs PHP

Re: [PHP-DEV] Re: [Apc-cache] Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-31 Thread Sebastian Bergmann
Michael Kimsal wrote: > Perhaps (and I know it's been said before) what is needed is an open > engine that could interpret and execute PHP separately from the Zend > engine (although they've done a really good job at speed!) The Zend Engine is open. Instead of proposing to break with Zend, why

Re: [PHP-DEV] Re: [Apc-cache] Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-31 Thread Markus Fischer
On Thu, Jan 31, 2002 at 04:18:08PM -0700, Peter Janett wrote : > Just a quick answer to your question, regarding Cold Fusion. It does come > with a way to "encrypt" the files. So, just like PHP, you still have your > text based scripts, but you can encrypt them, so that the source code can > on

Re: [PHP-DEV] Re: [Apc-cache] Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-31 Thread Peter Janett
EMAIL PROTECTED] - Original Message - From: "Michael Kimsal" <[EMAIL PROTECTED]> To: "Manuel Lemos" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 31, 2002 3:57 PM Subject: [PHP-DEV] Re: [Apc-cache] Re: [PHP-DEV

[PHP-DEV] Re: [Apc-cache] Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-31 Thread Michael Kimsal
Manuel Lemos wrote: >>If it still look too expansive to you, compared to the free perl compiler, >>there is also a perl compiler that costs $5,000... >> > >Alain, be serious, Java compilers cost nothing. I know for a fact that a >lot of people are discarding PHP because there is not an officially

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-31 Thread Björn Schotte
* Manuel Lemos wrote: > Sure there is Zend Encoder, but at USD $2400!?!? USD $2400 are *peanuts* for an *Encoder*. If your scripts are so full of value, then USD $2400 are peanuts. If not, go to your lawyer and get a license agreement. That costs less than USD $2400. -- PHP-Support * realitäts

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-31 Thread Hartmut Holzgraefe
Sam Liddicott wrote: > The Zend Open Source license > http://www.php.net/license/ZendGrant/ZendGrant3.png > and http://www.php.net/license/ZendGrant/ZendGrant4.png (see 5a) you MUST > provide the source to software which links with it. It will take lawyers to > decide if "compiled php" which req

RE: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-31 Thread Sam Liddicott
> -Original Message- > From: Stig S. Bakken [mailto:[EMAIL PROTECTED]] > Sent: 31 January 2002 08:49 > To: Manuel Lemos > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP-DEV] NEW PHP standalone compiler (was Re

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-31 Thread Hartmut Holzgraefe
David Eriksson wrote: > I can't see any problems living without eval(). But I'm a C++ kind of guy > most of the time... :-) include(), require() ... are members of the eval() family, and include pathes created at runtime are not that uncommon after all, even if they are just of the form incl

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-30 Thread George Schlossnagle
> Hello, > > George Schlossnagle wrote: >> >> APC supports compiled code in the fashion I think you're looking for. >> There's a README.compiler in the distribution tar ball. > > I know, I use APC in MMAP mode and I noticed that it outputs PHP > compiled code for each script to disk. That is preci

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-30 Thread Manuel Lemos
Hello, George Schlossnagle wrote: > > APC supports compiled code in the fashion I think you're looking for. > There's a README.compiler in the distribution tar ball. I know, I use APC in MMAP mode and I noticed that it outputs PHP compiled code for each script to disk. That is precisely what is

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-30 Thread George Schlossnagle
APC supports compiled code in the fashion I think you're looking for. There's a README.compiler in the distribution tar ball. George On Wednesday, January 30, 2002, at 10:06 PM, Manuel Lemos wrote: > Hello, > > Alain Samoun wrote: >> >> Manuel: >> In all fairness to the Zend people, you can g

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-30 Thread Manuel Lemos
Hello, Alain Samoun wrote: > > Manuel: > In all fairness to the Zend people, you can get the compiler for $600/year > or $50 per month. The unlimited Zend Encoder Unlimited costs $2400. Actually, I don't see any other Zend Encoder purchase option. Anyway, like a lot of other PHP users, I am no

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-30 Thread Vlad Krupin
Manuel Lemos wrote: >Hello Rasmus, > >Rasmus Resen Amossen wrote: > >>>Sure. Modify the Zend Engine so that it can be told to write the parsed >>> >>Cut... >> >>Yeah! That's more like it! Thnx body! >> >>More ideas are welcome. >> > >You have just hit one of PHP limitations, the ability provide

RE: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-30 Thread alain samoun
, but maybe the future: Web Services with SOAP? A+ Alain -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 5:28 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-30 Thread Manuel Lemos
Hello, Edin Kadribasic wrote: > > Its not like there are no opensource compilers for php. I have tried one > (http://apc.communityconnect.com) and it works great. George Schlossnagle et > al have done a great job and implemeted all the difficult stuff with optree > serialization/deserialization

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-30 Thread Edin Kadribasic
Its not like there are no opensource compilers for php. I have tried one (http://apc.communityconnect.com) and it works great. George Schlossnagle et al have done a great job and implemeted all the difficult stuff with optree serialization/deserialization etc, so making a standalone compiler out o