I want to install CodeIgniter 4, but this error stops the installation.
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/lib/php/20190902/intl (/usr/lib/php/20190902/intl: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/intl.so (/usr/lib/php/20190902/intl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 7.4.7 (cli) (built: Jun 12 2020 07:43:48) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.7, Copyright (c), by Zend Technologies
Откройте терминал и введите:
sudo apt update
sudo apt install php7.0 php7.0-cli php7.0-common php7.0-json composer
В папке над корнем вашего проекта:
composer create-project codeigniter4/appstarter project-root
Приведенная выше команда создаст папку project-root .
Всякий раз, когда есть новая версия, из терминала в корне вашего проекта:
composer update