将Codeigniter上传到服务器时出错500

时间:2015-09-18 09:17:49

标签: php codeigniter

我有CI编写的CMS。当我将代码上传到服务器时,它返回:

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

进入apache服务器时显示错误:

An uncaught Exception was encountered
Type: Exception

Message: Session: Configured save path 'C:\Windows\temp' is not writable by the PHP process.

Filename: D:\my_website\system\libraries\Session\drivers\Session_files_driver.php

Line Number: 124

Backtrace:

File: D:\my_website\application\controllers\content.php
Line: 4
Function: __construct 

File: D:\my_website\index.php
Line: 292
Function: require_once

我该如何解决?谢谢大家!

2 个答案:

答案 0 :(得分:0)

您需要C:\Windows\temp路径可写

答案 1 :(得分:0)

您必须向C:\Windows\temp授予写入权限。