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

2002-02-04 Thread Sam Liddicott
(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 the difference between CVS revision 1.5 and 1.6 of that file? No I checked the one

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 meant by

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 runs

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

2002-02-01 Thread Sam Liddicott
(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) you MUST provide the source to software which links with it. It will take

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

2002-02-01 Thread Stig S. Bakken
On Fri, 2002-02-01 at 08:34, Manuel Lemos wrote: 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

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

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 as

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 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.devarticle=64437 At the time, it was not done because Zeev said it would be necessary to add a directory in PHP tree for extensions that

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? When I

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

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

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: [PHP-DEV] Here we try again

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 requires

[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] Re: [Apc-cache] Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-31 Thread Peter Janett
: 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] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again) Manuel Lemos wrote

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 only be

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] 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 compiled code for

[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 I

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 open.

[PHP-DEV] Here we try again

2002-01-30 Thread Rasmus Resen Amossen
This mail concern scrambling again, but PLEASE do NOT start a political thread (again) on whether it's a good idea or not. Does anybody have a good idea on how to do it? -- Rasmus Resen Amossen | stud.mat.dat at the University of Copenhagen Jagtvej 120, -244| http://www.math.ku.dk/muh 2200

Re: [PHP-DEV] Here we try again

2002-01-30 Thread Brad Fisher
Sure. Modify the Zend Engine so that it can be told to write the parsed opcodes to a file instead of executing them. Then modify ZE to be able to recognize those binary files, and execute them directly without the need for parsing. It should give you a performance increase and let you

Re: [PHP-DEV] Here we try again

2002-01-30 Thread Rasmus Resen Amossen
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. -- Rasmus Resen Amossen | stud.mat.dat at the University of Copenhagen Jagtvej 120, -244| http://www.math.ku.dk/muh 2200 Kbh. N |

Re: [PHP-DEV] Here we try again

2002-01-30 Thread Edin Kadribasic
This mail concern scrambling again, but PLEASE do NOT start a political thread (again) on whether it's a good idea or not. Does anybody have a good idea on how to do it? Have a look at http://apc.communityconnect.com/ When this one run in mmap mode it creates compiled files on the disk that

RE: [PHP-DEV] Here we try again

2002-01-30 Thread Lukas Smith
]; Rasmus Resen Amossen Subject: Re: [PHP-DEV] Here we try again This mail concern scrambling again, but PLEASE do NOT start a political thread (again) on whether it's a good idea or not. Does anybody have a good idea on how to do it? Have a look at http://apc.communityconnect.com/ When

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

2002-01-30 Thread Manuel Lemos
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 marketable value to developers

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

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

2002-01-30 Thread Manuel Lemos
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 marketable value to developers

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 etc,

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 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 marketable value to

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 not

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 get the

Re: [PHP-DEV] Here we try again

2002-01-30 Thread derick
On Thu, 31 Jan 2002, Edin Kadribasic wrote: This mail concern scrambling again, but PLEASE do NOT start a political thread (again) on whether it's a good idea or not. Does anybody have a good idea on how to do it? Have a look at http://apc.communityconnect.com/ When this one run in mmap

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
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