


#MAIL FOLDER IN XAMPP FOR MAC INSTALL#
brew tap kyslik/homebrew-php & brew install kyslik/php/php71-intlįinally I got it to work using the following steps. Some solutions used brew packages which are now deprecated/deleted/moved. Even tried to build the intl-extension using macports instead of pecl. (using pecl) I kept getting this error: “fatal error: ‘ext/standard/php_smart_str.h’ file not found”. Mainly because they were meant for PHP5.6 and not for PHP7. I had almost given up, most of the solutions didn’t work for me. So I was hoping to find a solution to get it to work for XAMPP.įor XAMPP, installing intl extension was pain in the butt, firstly because this extension is not provided by XAMPP out of the box. And switching between built-in Apache and XAMPP or MAMP to run my projects was too confusing and time consuming. Now I have couple of projects already running on my mac with XAMPP. (it should be the one which you just installed: /usr/local/opt/ /… ) If you run into issues with this check which PHP your system is using by which php Then you have to disable the previous intl: mv /usr/local/etc/php/7.1/conf.d/ext-intl.ini /usr/local/etc/php/7.1/conf.d/ Note: If you come across with warnings like: PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/opt/php71-intl/intl.so’. Reload your bash profile (you can close the terminal and open it again). Symlinks for references in Cellar brew link -overwrite -force Ĭhange PHP path in my bash profile echo 'export PATH="/usr/local/opt/ /bin:$PATH"' > ~/.bash_profileĮcho 'export PATH="/usr/local/opt/ /sbin:$PATH"' > ~/.bash_profile
#MAIL FOLDER IN XAMPP FOR MAC UPGRADE#
Upgrade it to the latest version brew upgrade Using brew, php7.1 has intl extension built-in: brew install Installing PHP correctly solved the issue. It seemed pretty straight forward to get it to work using built-in Apache and PHP. There are multiple ways to get it to work on macOS, The issue is with PHP Extension in macOS, and especially with XAMPP. After a lot of research I was finally able to resolve this. If you are trying to install Magento on MacOS and have run into this error “PHP Extension intl.” missing.
