开发者

Apache Problem, phpinfo gives following arror

Sim开发者_C百科ply calling phpinfo(); gives the following info..

Fatal error: Using $this when not in object context in /var/www/phpinfo.php on line 2

It is a fresh Ubuntu + Apache install on Amazon EC2.


not possible, there has to be something else in the file.

<?php
phpinfo();
?>


You might be using

$this->phpinfo();

Try using simply

phpinfo();

More info here http://php.net/manual/en/function.phpinfo.php

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜