Re: [PATCH]APC php5.0.0 PATCH
| From: | Kamesh Jayachandran | Date: | Wed, 05 May 2004 13:27:33 +0000 |
| Subject: | Re: [PATCH]APC php5.0.0 PATCH | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-28829@lists.php.net to get a copy of this message | ||
Hi,
To be frank I was knowledgeable neither about the Zend 5.0 nor about
APC.
While I was compiling the APC with Zend 5.0 I collated the Zend 4.0 and
Zend 5.0 data structures and correspondingly modified the APC code to
get compiled.
But I have one problem.
APC is serving the pages only the first time.(No use of cache :)) Second
time I am getting Segmentation fault.
When I use the APC with PHP 4.3.3 I did not get any such Segmentation
faults.
In both versions of PHP I use shared memory.
When I access php 4.3.3 ipcs is not showing any Semophore array entries.
When I access php 5.0.0 ipcs is showing one Semophore array entry as
below,
------ Semaphore Arrays --------
key semid owner perms nsems
0x00000000 294912 nobody 600 1
Have to investigate.
One more query what is the meaning of hists and misses with respect to
APC and relative values.
Typically I get no of hits more than 5 times the number of misses.
Please advise.
With regards
Kamesh Jayachandran
On Tue, 2004-05-04 at 19:17, George Schlossnagle wrote:
> Hi,
>
> I'm at the bandwidth-impaired Amsterdam conference atm. I'll take a
> look at this at the end of the week when I'm back at work. Without
> looking through your patches (which can't download out of my mail at
> the moment), do you handle all the new OO structures in the class
> entries? That seems to be the tricky part.
>
> George
>
>
> On May 4, 2004, at 9:27 AM, Kamesh Jayachandran wrote:
>
> > Hi,
> > Got APC 2.0.3 compiled with PHP 5.0.0.
> >
> > But could not do much of the testing except the extension_loaded("apc")
> > (returns true).
> >
> > I hereby attach the patches.
> >
> >
> > With regards
> > Kamesh Jayachandran
> >
> > <apc_cache.patch><apc_compile.patch><apc_debug.patch><apc_optimizer.pat
> > ch><php_apc.c.patch>--
> > PEAR Development Mailing List (http://pear.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> // George Schlossnagle
> // Postal Engine -- http://www.postalengine.com/
> // Ecelerity: fastest MTA on earth
>