cakephp 3.* installation issue

2019-09-01 13:01发布

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:

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

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 using ubuntu with php 5.5.9, pear is installed

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

1条回答
别忘想泡老子
2楼-- · 2019-09-01 13:45

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

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

Install manual for php5-intl

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

ps: restart apache after instalation

sudo /etc/init.d/apache2 restart
查看更多
登录 后发表回答