cakephp配置问题

wgfkyn 2013-11-06 12:02:37

Warning (512): SplFileInfo::openFile(D:\AppServ\www\cakephp\app\tmp\cache\persistent\myapp_cake_core_cake_dev_zh-cn) [splfileinfo.openfile]: failed to open stream: No error [CORE\Cake\Cache\Engine\FileEngine.php, line 357]Warning (512): _cake_core_ cache was unable to write 'cake_dev_zh-cn' to File cache [CORE\Cake\Cache\Cache.php, line 325]Release Notes for CakePHP 2.4.2.


Read the changelog
URL rewriting is not properly configured on your server. 1) Help me configure it 2) I don't / can't use URL rewriting
Your version of PHP is 5.2.8 or higher.
Your tmp directory is writable.
The FileEngine is being used for core caching. To change the config edit APP/Config/core.php
Your database configuration file is present.

Fatal error: Class 'PDO' not found in D:\AppServ\www\cakephp\lib\Cake\Model\Datasource\Database\Mysql.php on line 203


Warning (512): SplFileInfo::openFile(D:\AppServ\www\cakephp\app\tmp\cache\persistent\myapp_cake_core_file_map) [splfileinfo.openfile]: failed to open stream: No error [CORE\Cake\Cache\Engine\FileEngine.php, line 357]Warning (512): _cake_core_ cache was unable to write 'file_map' to File cache [CORE\Cake\Cache\Cache.php, line 325]
...全文
1588 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
goyuquan 2014-03-20
  • 打赏
  • 举报
回复
PHP版本要在5以上,否则装不上
wgfkyn 2013-12-17
  • 打赏
  • 举报
回复
这些问题都解决了,主要还是因为我的appserv版本太老了!多谢你们的帮助!
邪恶泡泡 2013-11-11
  • 打赏
  • 举报
回复
没有启用PDO扩展
wgfkyn 2013-11-06
  • 打赏
  • 举报
回复
不是一般windows不用么?
iasky 2013-11-06
  • 打赏
  • 举报
回复
URL rewrite没有配置吧。看错误提示。 还有就是Cache目录的权限,没有写权限
sa111 2013-11-06
  • 打赏
  • 举报
回复
tmp权限没有写权限

4,250

社区成员

发帖
与我相关
我的任务
社区描述
国内外优秀PHP框架讨论学习
社区管理员
  • Framework
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧