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
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
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))
{
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))
{
:)
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;
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
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
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
8 matches
Mail list logo