Home  >  Article  >  Backend Development  >  Thinkphp在linux上的路径有关问题

Thinkphp在linux上的路径有关问题

WBOY
WBOYOriginal
2016-06-13 12:40:13973browse

Thinkphp在linux上的路径问题
今天在Linux(CentOs)上配置了个thinkphp项目 死活路径不对,先上图

Apache配置:


项目结构:


访问地址:


当我在入口文(index.php)件加上:require './ThinkPHP/ThinkPHP.php';时就给我报404错误
去掉引入文件,一切正常,但相应的thinkphp的核心文件就没引入进来

thinkphp Linux CentOS Apache
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn