【发布时间】:2016-11-26 11:35:14
【问题描述】:
我在 iPage 有一个共享主机。我做了这里列出的步骤:Deploy Laravel 5 using only FTP in a shared hosting(移动文件,编辑 htaccess)但仍然面临同样的 500 错误:
20161126T060216:bluepenlabs.com/projects/peugeot/public/index.php PHP 警告: 要求(/hermes/bosnaweb28a/b1452/ipg.bluepenlabscom/projects/peugeot/public/bootstrap/autoload.php): 无法打开流:中没有这样的文件或目录 /hermes/bosnaweb28a/b1452/ipg.bluepenlabscom/projects/peugeot/public/index.php 在第 22 行 PHP 致命错误:require(): Failed opening required '/hermes/bosnaweb28a/b1452/ipg.bluepenlabscom/projects/peugeot/public/bootstrap/autoload.php'
(include_path='.:/usr/local/lib/php-5.5.22-amd64/lib/php') 在 /hermes/bosnaweb28a/b1452/ipg.bluepenlabscom/ 20161126T061559: bluepenlabs.com/projects/peugeot/public/index.php
PHP 解析错误: 语法错误,意外 '.',期待 '&' 或变量 (T_VARIABLE) 在 /hermes/bosnaweb28a/b1452/ipg.bluepenlabscom/projects/peugeot/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php 在第 475 行
20161126T061939:bluepenlabs.com/projects/peugeot/public/index.php PHP 解析错误:语法错误,意外的 '.',期待 '&' 或变量 (T_VARIABLE) 在 /hermes/bosnaweb28a/b1452/ipg.bluepenlabscom/projects/peugeot/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php 在第 475 行
请注意,我正在尝试将 laravel 项目安装在子目录 /projects/peugeot/ 中
谢谢
【问题讨论】:
标签: laravel-5