I'm using MacOS Big Sur 11.4 and XAMPP 7.4.29. I have only basic knowledge on php and html. I want to go through mediawiki installion on my Mac for personal use. I encounter error message like screenshot below which basically I need to install intl extention in my PHP
I followed the instruction given here
Brew install autoconf
- Change the path
PATH=”/Applications/XAMPP/xamppfiles/bin:${PATH}”
- Go inside the folder
cd ext/intl/
- Build
/Applications/XAMPP/bin/phpize
- I encounter error message
Cannot find config.m4. Make sure that you run '/Applications/XAMPP/bin/phpize' in the top level source directory of the module
After that I found a stackoverflow pages here addressing the issue of config.m4 and suggesting to
- Install xdebug-2.6.1 (which was written 9 years ago and I can not find in internet)
- Finding the file
ls config*
which I try and fail too
After that, I try to find other way to install the missing extention of php. I found this stackoverflow article. I followed the instruction
brew install icu4c
sudo pecl update-channels
sudo pecl install intl
. In this step I put the path of ICU/opt/homebrew/opt/icu4c/
- I stucked with an error message like below
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/pear/temp/intl/php_intl.h:33:10: fatal error: 'unicode/ubrk.h' file not found
#include <unicode/ubrk.h> ^~~~~~~~~~~~~~~~ 1 error generated.
make: *** [php_intl.lo] Error 1
ERROR: `make' failed
So that's all the thing that I have tried so far. My question since from the beginning has not been solved. How can I install the missing PHP extention so that I can proceed with the installation of mediawiki?
Thank you in advance