[phpa] Re: Activation Probleme

  • From: "Mark Rogers" <mark@xxxxxxxxxxxxxx>
  • To: <phpa@xxxxxxxxxxxxx>
  • Date: Sat, 20 Apr 2002 18:13:48 +0100

> I've juste added that to my php.ini
> ; PHP Accelerator extension
> zend_extension="/usr/lib/php_accelerator.so"
> phpa.registration_keys_file="/usr/local/apache/conf/phpa.keys"
>
> I generate a bulk list of my servers but I always have
> [Sat Apr 20 04:58:52 2002] [warn] No PHPA registration key given for
> www.mydomain.com.
> PHPA is NOT enabled. (pid 30991)
>
> What can I do ?

Assuming you have the file in the right place with the keys in it the most
likely cause is that you have some long domain names which are triggering a
bug in phpa and which causes subsequent keys to be skipped. ("Long" is
actually quite short, something like 63 chars on one line, IIRC.)

Check your Apache errors log and see what is reported by phpa after the
server starts.

If this is the case, offending codes will have to be moved out of the file
(put them directly into the virtual hosts definitions in httpd.conf)  if you
need them enabled. Or just wait until the next release :-)

Mark Rogers
Quarella Ltd

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