Home >Backend Development >PHP Tutorial >How to deploy CodeIgniter to SAE?

How to deploy CodeIgniter to SAE?

WBOY
WBOYOriginal
2016-08-04 09:21:541175browse

今天在使用SAE部署CI 3.0.3版本

按照规则上传代码,之后,出现错误:

How to deploy CodeIgniter to SAE?

不知道是怎么回事,

试着写config.yaml

<code class="yaml">name: testapp
version: 1

handle:
- rewrite: if ( !is_dir() && !is_file() && path ~ "(.*)$" ) goto "index.php/$1"</code>

然而结果依旧如上,真的被弄懵了~

求教,这是怎么回事,怎么解决!?

回复内容:

今天在使用SAE部署CI 3.0.3版本

按照规则上传代码,之后,出现错误:

How to deploy CodeIgniter to SAE?

不知道是怎么回事,

试着写config.yaml

<code class="yaml">name: testapp
version: 1

handle:
- rewrite: if ( !is_dir() && !is_file() && path ~ "(.*)$" ) goto "index.php/$1"</code>

然而结果依旧如上,真的被弄懵了~

求教,这是怎么回事,怎么解决!?

系统文件夹路径设置不正确, 打开你的index.php查看定义的项目路径,

可能是sae环境下系统路径不可写

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