Thanks Bostjan for the suggestion. I did raise the issue and here is the reply:
http://news.php.net/php.internals/49672
Thx,
Ravi
On Wed, Sep 15, 2010 at 2:38 AM, Bostjan Skufca wrote:
> Here are the results I got when question of migration from apache to nginx
> was brought up:
> http://blog.
Here are the results I got when question of migration from apache to nginx
was brought up:
http://blog.a2o.si/2009/06/24/apache-mod_php-compared-to-nginx-php-fpm/
(BTW there is some FPM in main PHP distribution now)
As for resource management, I recommend looking at php sources
(Zend/zend_alloca.c
On Tue, Sep 14, 2010 at 1:15 PM, Per Jessen wrote:
> J Ravi Menon wrote:
>
>> On Tue, Sep 14, 2010 at 12:43 AM, Per Jessen wrote:
>>> J Ravi Menon wrote:
>>>
Few questions:
1) Does opcode cache really matter in such cli-based daemons? As
'SomeClass' is instantiated at every lo
Per Jessen wrote:
J Ravi Menon wrote:
2) What about garbage collection? In a standard apache-mod-php
setup, we rely on the end of a request-cycle to free up resources -
close file descriptiors, free up memory etc..
I am assuming in the aforesaid standalone daemon case, we would
have to do this m
J Ravi Menon wrote:
> On Tue, Sep 14, 2010 at 12:43 AM, Per Jessen wrote:
>> J Ravi Menon wrote:
>>
>>> Few questions:
>>>
>>> 1) Does opcode cache really matter in such cli-based daemons? As
>>> 'SomeClass' is instantiated at every loop, I am assuming it is only
>>> compiled once as it has alrea
On Tue, Sep 14, 2010 at 12:43 AM, Per Jessen wrote:
> J Ravi Menon wrote:
>
>> Few questions:
>>
>> 1) Does opcode cache really matter in such cli-based daemons? As
>> 'SomeClass' is instantiated at every loop, I am assuming it is only
>> compiled once as it has already been 'seen'.
>
> Yup.
Just
J Ravi Menon wrote:
> Few questions:
>
> 1) Does opcode cache really matter in such cli-based daemons? As
> 'SomeClass' is instantiated at every loop, I am assuming it is only
> compiled once as it has already been 'seen'.
Yup.
> 2) What about garbage collection? In a standard apache-mod-php se
Hi,
I have some basic questions on running php (5.2.x series on Linux
2.6) as a standalone daemon using posix methods (fork() etc..):
#!/usr/bin/php
doSomething()
}
// shutdown logic.
The 'someclass.php' in turn will include other files (via require_once).
The above file will be executed dir
anual/en/function.ini-set.php
> > > > >
> > > > > * Cal Evans
> > > > > * http://www.christianperformer.com
> > > > > * Stay plugged into your audience
> > > > > * The measure of a programmer is not the number of lines of
not the number of lines of
> code he writes
> > > > but the number of lines he does not have to write.
> > > > *
> > > >
> > > > - Original Message -
> > > > From: "Monte Ohrt" <[EMAIL PROTECTED]>
> > > &
On Friday 06 June 2003 01:43, Monte Ohrt wrote:
> I know it can be altered with a command-line switch, but it is the
> default that I want to change. I don't want to have to remember to set
> the -c flag everytime, or go back and change all my existing scripts.
You can run separate ./configure co
not have to write.
> > > *
> > >
> > > ----- Original Message -
> > > From: "Monte Ohrt" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Cc: <[EMAIL PROTECTED]>
> > > Sent: Thursday, June 05, 2003 9:22
he writes
but the number of lines he does not have to write.
*
- Original Message -
From: "Monte Ohrt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2003 9:22 AM
Subject: [PHP] PHP CLI question
Hi,
A coupl
te Ohrt" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Thursday, June 05, 2003 9:22 AM
> > Subject: [PHP] PHP CLI question
> >
> >
> > > Hi,
> > >
> > > A couple of qu
PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, June 05, 2003 9:22 AM
> Subject: [PHP] PHP CLI question
>
>
> > Hi,
> >
> > A couple of questions:
> >
> > 1) Is there a way to make the CLI version of PHP ig
: "Monte Ohrt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2003 9:22 AM
Subject: [PHP] PHP CLI question
> Hi,
>
> A couple of questions:
>
> 1) Is there a way to make the CLI version of PHP ignore certain sett
Hi,
A couple of questions:
1) Is there a way to make the CLI version of PHP ignore certain settings
in the php.ini file? For instance, I don't want the ioncube accelerator
invoked when using PHP from the command line. My current work around is
to use two separate init files, php.ini and php-cli.i
17 matches
Mail list logo