[PHP] APC and PHP 5.1.2

2006-03-02 Thread steve
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? -- PHP General Mailing List (http://www.php.net/) To

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

Re: [PHP] APC and PHP 5.1.2

2006-03-02 Thread steve
OK, will try. Does this work in the CVS version? ?php error_reporting(E_ALL); class A { public $_t = 'something'; public function __get($name) { $getter='get'.$name; if(method_exists($this,$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? ?php error_reporting(E_ALL); class A { public $_t = 'something'; public function __get($name) { $getter='get'.$name; if(method_exists($this,$getter)) {

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? ?php error_reporting(E_ALL); class A { public $_t = 'something'; public function __get($name) { $getter='get'.$name;

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

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

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