- macOS High Sierra
- XAMPP 7.0.33 / PHP 7.0.33. Please refer to download
- Moodle version 3.6.1. Please refer to download
Problem
- During the Moodle installation on XAMPP, Intl extension checking message is displayed. Please refer to the screenshot below
- Obviously, php.ini is located at "/Applications/XAMPP/xamppfiles/etc/" directory
- Run command below to check the php path
which php
- Run command below to change the PHP path to XAMPP PHP folder if default path is "/usr/bin/php"
PATH="/Applications/XAMPP/xamppfiles/bin:${PATH}"
- Run command below to generate Intl extension
brew tap kyslik/homebrew-php brew install kyslik/php/php70-intl
- Alter php.ini by inserting the configuration as shown below
extension="/usr/local/Cellar/php70-intl/7.0.27_25/intl.so"
- Press "Reload" button, the Intl extension error will be resolved.
No comments:
Post a Comment