[phpa] Important note about the current 1.2 dev release

  • From: Nick Lindridge <nick@xxxxxxxxxxxxxxxxx>
  • To: phpa@xxxxxxxxxxxxx
  • 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


Other related posts: