生成静态页问题求助

#1 。。。

我的机器环境 win xp + nginx1.1.14 +php 5.4
spHtml类中make 方法生成静态html
function temp(){
        $url = array("main", "article", array('id'=>3));
        spClass("spHtml")->make($url);
        }

访问 后超时
504 Gateway Time-out
nginx/1.1.14
同时静态文件也并未生成。html文件夹下空空如也。
访问原先的 index.php?a=article&id=3 的链接变成如下链接
http://test.com/
Strict Standards:  Non-static method spHtml::getUrl() should not be called statically in D:\wwwroot\SpeedPHP\spFunctions.php on line 231
/html/2012/4/06/3677071313.html

请问是什么原因导致静态页无法生成, getUrl 这个静态方法无法访问。我该如何解决。

2012-04-06 10:29:55

#2 jake

下载手册内的例子,直接使用。

注意配置,和仔细看手册

2012-04-06 22:52:43