cakephp 3. *安装问题 [英] cakephp 3.* installation issue

查看:258
本文介绍了cakephp 3. *安装问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Cakephp是我的第一个PHP框架。我按照Documentation / install中的说明进行操作。看起来一切正常,但是当我试图运行,我得到错误:

Cakephp is my first PHP framework. I followed the instructions in Documentation / install. It seems everything was correct, but when i tried to run, i get errors:


警告:require(/ var / www / html / caketest / vendor / autoload.php):失败
打开流:
中没有这样的文件或目录/var/www/html/caketest/config/bootstrap.php第23行

Warning: require(/var/www/html/caketest/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/caketest/config/bootstrap.php on line 23

致命错误:require():需要打开失败
'/var/www/html/caketest/vendor/autoload.php'
(include_path ='.: / usr / share / php:/ usr / share / pear')in
/var/www/html/caketest/config/bootstrap.php on line 23

Fatal error: require(): Failed opening required '/var/www/html/caketest/vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/caketest/config/bootstrap.php on line 23

im使用Ubuntu的php 5.5.9,安装了梨

im using ubuntu with php 5.5.9, pear is installed

我试图找到解决方案,但没有成功。
如何更正这些错误?

I tried to find the solution but without sucsess. How to correct these errors?

推荐答案

我发现我的系统中有一个缺少的包。 - php5-intl

I found out that there was a missing package in my system. - php5-intl

这是写在官方CakePHP安装手册,我检查了,但看起来不是很好。

It was written in official CakePHP install manual, and i checked it but looks like not well.

php5-intl 安装手册

http://php.net/manual/en/intl.setup.php

ps:安装后重新启动apache

ps: restart apache after instalation

sudo /etc/init.d/apache2 restart

这篇关于cakephp 3. *安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆