简体   繁体   中英

php_intl extension installation error in cakephp

I am using cakephp 3.0.8 on xampp 5.6.8-0 in Mac OS X Yosemite. I have set the database string in the app file and also make the DB for cakephp. I have also uncomment the extension=php_intl.dll in php.ini file.

but if I try to use phpinfo, it is not showing php_intl . And when I try to use cakephp on localhost it says

Fatal error: You must enable the intl extension to use CakePHP. in /Applications/XAMPP/xamppfiles/htdocs/cakephp/config/bootstrap.php on line 38

Could anyone tell me please whats the problem.

If you have your Linux VPS or Dev Box, the package is missing!!

just run this at command line

sudo apt-get install php5-intl

Why php5? Well it's what I have installed, so if you're running greater than that in the future, just adjust php5 to phpx whatever you're running there!

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