简体   繁体   中英

You must enable the intl extension to use CakePHP on line 31

As Cakephp is successfully installed and its showing the main page.

It's giving this error while running the cake command in the cmd,

C:\xampp\htdocs\cakephpwork\bin>cake
PHP Fatal error:  You must enable the intl extension to use CakePHP. in C:\xampp\htdocs\cakephpwork\config\requirements.php on line 31

However it's already enable in php.ini file

extension=intl

Actually my php version was 7.3 and cake php was 4.0.1 so it was not compatible. Installing php 7.4 deemed solved.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM