PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, December 31, 2021

[FIXED] PHP Fatal error: You must enable the intl extension to use CakePHP. in C:\xampp\htdocs\Cakecrud\config\requirements.php on line 31

 December 31, 2021     cakephp, cakephp-2.0, cakephp-3.0, php     No comments   

Issue

I have enabled both in php.ini

extension= intl
extension= php_intl.dll

Still the error is same when I run the command on cmd

Cake bake all students


Solution

It sounds like you might have added the intl exension to the wrong php.ini file.

It needs to be added to the web php.ini file, not cli.

To check what extensions are loaded for the web, write phpinfo();exit; in a PHP file then hit hit.

To see whats loaded in PHP cli (where you may have added it by mistake), run php -m at a terminal.



Answered By - aussieguy123
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home
View mobile version

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing