Re: APC and PHP 5.1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK, got it and installed it (checked the output of phpinfo to
confirm), and I get this on both the first load (uncached) and later
loads (cached):

NULL
Test $one->getTest():

With an error in the error log telling me I'm a dope for dereferencing
a null object.

Why does the weird stuff always happen to me?

Without APC it runs fine. I'm using Fastcgi version if that matters.

-steve--


On 3/2/06, Rasmus Lerdorf <rasmus@xxxxxxxxxxx> wrote:
> steve wrote:
> > I can't get APC 3.0.8 to work on anything, at all. On Windows, it
> > crashes the server, and on Linux, it can't handle objects. For
> > example:
> >
> > <?php
> >
> > class abc {
> > }
> >
> > $a = new abc;
> >
> > var_dump($a);
> >
> > ?>
> >
> > Gives:
> >
> > NULL
> >
> > Any idea on what is going on?
>
> Use the CVS version.  I need to push a new version out soon.
>
> cvs -d :pserver:cvsread@xxxxxxxxxxx:/repository login
> Password: phpfi
> cvs -d :pserver:cvsread@xxxxxxxxxxx:/repository co pecl/apc
> cd pecl/apc
> phpize
> ./configure --enable-apc-mmap --with-apxs=/usr/local/bin/apxs \
>              --with-php-config=/usr/local/bin/php-config
> make
> make install
>
> (and restart your web server)
>
> -Rasmus
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux