Installation stops - "Intl is required"


#1

Hello,
the composer installation worked so far, but when I try to run the vendor/bin/pimcore-install-script, it stops with the message “Intl is required.”

The problem is, that I don´t know how to enable php-intl in a way, that pimcore recognizes it.
It should be already included on a Mac (OSX High Sierra).
In this stackoverflow post, it is suggested to re-install php via brew:

But before messing up with my php configuration, I would like to know if there´s a simpler way?

In my MAMP configuration, for example, I can clearly see, that php-intl is enabled.
Could I tell pimcore to use the MAMP php configuration instead?
(Right now, the pimcore installation process looks into the /etc/php.ini instead of /Applications/MAMP/…)

Thank you very much for further information!
Best regards,
Daniel


#2

Not Pimcore looks into the wrong config, php does :wink:

use /Applications/MAMP/bin/php7.1.*/bin/php vendor/bin/install -> replace * with your php version


#3

Thanks a lot!
That helped. The installation is now running.