[phpa] Re: Important note about the current 1.2 dev release


Thank you for this quite interesting information, Nick: This "tweaks" 
parameter looks good !

I also discovered that adding these (undocumented) paramaters to php.ini 
gives incredible results:

phpa.if_you_still_find_it_is_too_slow = on
phpa.let_us_get_serious = on
phpa.really_accelerate = on
phpa.Now_I_call_this_fast = on

On my config, it brought me up to a 14143 % acceleration !

Could you believe this ? (You'd rather not, unless Nick has some more hidden 
features ;-) )

Ronan



>From: Nick Lindridge <nick@xxxxxxxxxxxxxxxxx>
>Reply-To: phpa@xxxxxxxxxxxxx
>To: phpa@xxxxxxxxxxxxx
>Subject: [phpa] Important note about the current 1.2 dev release
>Date: Wed, 21 Nov 2001 21:01:53 +0000
>
>
>Hi,
>
>The current development release has a permissions problem if
>Apache starts as root but switches its children to another user
>ID, such as 'Apache' or 'nobody'. It's quite common for installations
>to do this.  PHPA will keep working, but with slower acceleration
>because it'll just load compiled code from the file cache.
>
>The workaround is to set
>
>       phpa.shm_perms = 666
>
>in php.ini, to flush the shm cache and restart Apache.
>
>One other thing is that the (undocumented) tweaks feature
>is disabled by default in 1.2. Enabling this generates smaller
>and slightly faster code.
>
>       phpa.tweaks = on
>
>Cheers
>Nick
>
>------------------------------------------------------------------------
>   www.php-accelerator.co.uk           Home of the free PHP Accelerator
>
>To post, send email to phpa@xxxxxxxxxxxxx
>To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe
>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: