二级目录如何使用SpeedPHP?

#1 zf19870131

我的根目录存放了SpeedPHP目录。
并且存放了我要测试的目录admin,在admin目录下新建了一个index.php文件,并按照手册上的配置文件配置,却出错了。

运行结果如下所识,不知道是哪里除了问题。

详见图:


Warning: require(../SpeedPHP/spFunctions.php) [function.require]: failed to open stream: No such file or directory in C:\PHPnow\htdocs\SpeedPHP\SpeedPHP\SpeedPHP.php on line 25

Fatal error: require() [function.require]: Failed opening required '../SpeedPHP/spFunctions.php' (include_path='.;C:\php5\pear') in C:\PHPnow\htdocs\SpeedPHP\SpeedPHP\SpeedPHP.php on line 25

2010-04-19 19:42:24

#2 shinid8210

C:\PHPnow\htdocs\SpeedPHP\SpeedPHP\SpeedPHP.php


应该是路径错误。看看这个地方 。

2010-04-19 20:41:22

#3 greysky

在INDEX.PHP里设置下目录路径

2010-04-19 21:06:21