I use version 2.2 of MAMP PRO with PHP 5.5.3. I use port to install the packages. I installed php5-intl and I copied the file intl.so in /Applications/MAMP/bin/php/php5.5.3/lib/php/extensions/no-debug-non-zts-20121212. I called the extension in the php.ini file via> Edit config> php> php5.5.3.ini because I have the pro version of mamp. After restarting servers and display phpinfo () the extension is not loaded. I tried to call the extension directly in php.ini like this "extension = '/ Applications/MAMP/bin/php/php5.5.3/lib/php/extensions/no-debug-non-zts-20121212 /intl.so' but it does not work.
I do not see why extension is not loaded could you help me please ?
Best regards,
Step 1:
With the terminal execute the following command:
Once done go to the folder:
Copy the file intl.so and pasted it in the folder of MAMP for me:
Step 2:
Edit php.ini the following path:
Once opened with textEdit search part :
Add the following line JUST BEFORE:
which should include:
Step 3:
Restart your MAMP server.