I am trying to install M2.4 on my local machine, But getting error list, I have install elastic search and when i run below command in CMD then getting error list. Please check attached screenshot.

Command Running in CMD:

php bin/magento setup:install --base-url="http://localhost/faksouq24" --db-host="localhost" --db-name="faksouq24" --db-user="root" --admin-firstname="admin" --admin-lastname="admin" --admin-email="[email protected]" --admin-user="admin" --admin-password="admin123" --language="en_US" --currency="USD" --timezone="America/Chicago" --use-rewrites="1" --backend-frontname="admin"


Fatal error: Uncaught Error: Class 'Locale' not found in C:\xampp72\htdocs\faksouq24\vendor\magento\framework

Please help me regarding about this issue, why i am getting this error ?

Thanks & Regards

enter image description here

2 Answers 2


Check if php_intl extension is enabled from your php.ini file. If it isn't, than enable it and restart apache. Hopefully than you can install magento with the command line.


In your case, php's intl extension is missing. Please enable it in php.ini and restart apache.

If you have any other issues, try this tutorial. It explain in detail how to fix any issues when installing Magento 2.4 on Localhost


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.