xampp无法识别路径

I just installed Xampp portable on a flash drive as my test environment and all services works fine. I copied my website folder from my webserver to the htdocs folder of the xampp and now xampp doesn't recognize the paths to the include_once's in the webpages and it says: Fatal error: Call to undefined function checkmobile() in F:\xampp\htdocs\mySite\includes\html_head.php on line 15

ie, there is a include_once checkmobile.php above the line 15 but the xampp doesn't recognize the path! BTW, this works from my webserver...

I am trying to keep the paths the same so when I transfer the website files back to the production server, I don't have to change all the paths again...

Any solution to this? Am I doing something wrong or have to modify some config files in xampp?

查看全部
duannian3494
duannian3494
2015/02/18 18:37
  • apache
  • php
  • xampp
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复