Closed smartyoon closed 2 years ago
Duplicate of #4775, #3294 See https://codeigniter4.github.io/CodeIgniter4/intro/requirements.html#server-requirements
The module installation is already complete. Installed to suit the conditions.
[PHP Modules] bcmath bz2 calendar Core crypto ctype curl date dom exif fileinfo filter ftp gd gettext hash iconv imagick intl json libxml mbstring mcrypt mysql mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar readline Reflection session SimpleXML soap sockets sodium SPL sqlite3 standard tokenizer xml xmlreader xmlwriter xsl Zend OPcache zip zlib
@smartyoon How did you get the info?
@kenjis PHP Modules is information that you have installed yourself.
@smartyoon No, no. My question is: How did you get the output?
Try:
$ php74 spark migrate status
@kenjis You are a genius!! Problem solved. Thanks!
As you know, at least you have two php commands, php
and php74
.
And these are not the same.
PHP Version
7.4, 8.0, 8.1
CodeIgniter4 Version
4.2.6
CodeIgniter4 Installation Method
Composer (as dependency to an existing project)
Which operating systems have you tested for this bug?
macOS
Which server did you use?
fpm-fcgi
Database
mysql8
What happened?
When I enter the migration command, I get an error.
Class 'Locale' not found
at SYSTEMPATH/CodeIgniter.php:181
Backtrace: 1 ROOTPATH/spark:83 CodeIgniter\CodeIgniter()->initialize()
Steps to Reproduce
php spark migration status
Expected Output
[Error]
Class 'Locale' not found
at SYSTEMPATH/CodeIgniter.php:181
Backtrace: 1 ROOTPATH/spark:83 CodeIgniter\CodeIgniter()->initialize()
Anything else?
No response