-1

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

ndm
  • 59,784
  • 9
  • 71
  • 110
  • Does this answer your question? [intl PHP extension is not working for xampp server](https://stackoverflow.com/questions/30480678/intl-php-extension-is-not-working-for-xampp-server), also [CakePHP 3.0 installation: intl extension missing from system](https://stackoverflow.com/questions/26285280/cakephp-3-0-installation-intl-extension-missing-from-system) – Umair Khan Jul 16 '20 at 06:53
  • The is already icu.dll files in the bin. – Ammad Hassan Jul 16 '20 at 07:02
  • Did you update the php.ini for Apache or CLI? They are often different. And did you restart Apache after that update? – Greg Schmidt Jul 16 '20 at 15:10
  • Furthermore make sure that your globally accessible `php` executable is actually the one that you're configuring, `php --ini` should show you which ini file belongs to it. – ndm Jul 16 '20 at 23:25

1 Answers1

0

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.