CodeIgniter Framework Troubleshooting - 'ext-intl' extension issue
P粉851401475
2023-08-08 21:29:21
<p>I tried to create a CI4 project through Composer but got the following error message: "Your requirement cannot be resolved into an installable package set.<br /><br /> Question 1 - codeigniter4 /framework[4.0.0, ..., v4.3.7] requires ext-intl* extension -> Your system is missing the extension. Please install or enable the intl extension for PHP. - root composer.json requires codeigniter4/framework ^ 4.0 -> codeigniter4/framework[4.0.0, ..., v4.3.7] suffices.<br /><br /> To enable extensions, verify that they are in your .ini file Enabled in: - C:xamppphpphp.ini You can also run the php --ini command in the terminal to view the files used by PHP in CLI mode. Alternatively, you can run Composer with the --ignore-platform-req=ext-intl option , ignore these required extensions for now." When I enable the intl extension in php.ini, it also has no effect. <br /><br />I tried to create a CI4 project through Composer but could not succeed. </p><p><br /></p>
Open the C:\xampp\php\php.ini file and remove the comment of ;extension=intl and change it to extension=intl.