Re: [PHP] APC and PHP 5.1.2

2006-03-02 Thread steve
You know not what you ask!! I'm going to have to wait a bit before I do that. Currently using Apache 2, and the config files would need to be different, etc., so I'll have to choose a webserver I can take down for a longer time. :( What I did try was different versions of PHP (All using FastCGI &

Re: [PHP] APC and PHP 5.1.2

2006-03-02 Thread Rasmus Lerdorf
steve wrote: 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 st

Re: [PHP] APC and PHP 5.1.2

2006-03-02 Thread steve
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 happ

Re: [PHP] APC and PHP 5.1.2

2006-03-02 Thread steve
:) On 3/2/06, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > steve wrote: > > OK, will try. Does this work in the CVS version? > > > > > error_reporting(E_ALL); > > class A > > { > > public $_t = 'something'; > > public function __get($name) > > { > > $getter=

Re: [PHP] APC and PHP 5.1.2

2006-03-02 Thread Rasmus Lerdorf
steve wrote: OK, will try. Does this work in the CVS version? $getter(); } } public function getTest() { return 'OK'; } } $result=''; $one = new A(); var_dump($one); echo "Test \$one->getTest(): "; echo $one->getTest(); echo "Test

Re: [PHP] APC and PHP 5.1.2

2006-03-02 Thread steve
OK, will try. Does this work in the CVS version? $getter(); } } public function getTest() { return 'OK'; } } $result=''; $one = new A(); var_dump($one); echo "Test \$one->getTest(): "; echo $one->getTest(); echo "Test \$one->Test: ";

Re: [PHP] APC and PHP 5.1.2

2006-03-02 Thread Rasmus Lerdorf
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: 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:[EMAIL PROTECTED]:/