[phpa] Re: Not creating phpa_ files in /tmp

Hi,

I've done a little bit more research based on what you said (just mostly 
doublechecking things that I'm sure I checked before and made sure of.)

You mentioned permissions of /tmp.  Actually /tmp shows permissions of 
lrwxrwxrwx but that's because it's a symbolic link to /home/tmp.  /home/tmp 
has permissions of drwxrwxrwt (I'm not sure exactly what the last t is but 
what I did was change it to 777, restarted apache, and when that didn't 
work I changed it back to a+t.)

I checked the ipcs command and the results for the memory address you 
mentioned was:
0x0c0deb00 1669      httpd     664       8388608   23

I'm guessing that I have pretty much everything installed correctly because 
I get warnings on sites that don't have a key such as this one "[ [warn] No 
PHPA registration key given for dvdexchange.webstylists.com. PHPA is NOT 
enabled."  You mentioned only getting the error message the first time but 
I'm getting it for every page that's accessed from these sites.

Just let me know what you need me to do as far as the debug version and 
I'll do it.

Thanks,

Mark

At 1/28/2002 01:30 AM, you wrote:

> > Any thoughts on what I can do to get this to work?  I've been searching
> >  everywhere for a troubleshooting guide for PHP Accelerator but haven't
> >  found one.
>
>I'll send you more detailed info when I get home tonight - I'm at work and
>have just a few seconds. If you've had warning about the key then that's a
>good sign as it means it's loading. Also it means that it's starting off
>enabled. If it thought that the phpa setting was off then it wouldn't check
>the keys. Check the permissions on /tmp. Obviously they should be 777 and
>I'm sure that they are. Use ipcs to check that the shared memory has been
>created with key 0x0c0deb00. It gets created on the first page request. If
>not then phpa hasn't seen a page request for some reason - although this is
>when key checking happens too so it should have been.
>
>You do need to restart apache after installing a key because it caches the
>fact that a key was invalid after the first time each apache process
>checks. You also only see an error message that first time. But I think you
>said that you restarted apache so that's not it.
>
>If you're still stuck then I'll send you a debug version tonight that'll
>spit out lots of info and should give a clue as to why it's not enabling
>itself.

/=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\
| Mark W Thompson            | Fax Number: (810)816-5203    |
| Web Stylists               | http://www.webstylists.com/  |
| mark-lists@xxxxxxxxxxxxxxx | ICQ #: 245378                |
\=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/

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