Install/activate PHP “intl” extension running MAMP



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








12















Ok, I'm running MAMP 1.9.5, which includes PHP 5.3.5, on my MacBook Pro.



The "intl" extension isn't included/activated and I've tried a lot of different ways to install it ("./pecl install intl" doesn't seem to do it), but can't make it work.



I've also "googled my ass of" but can't find any hints.



Anyone of you that know how to do it? Or, alternatively, have and advice on how to install my own MySQL+Apache+PHP (and include "intl")?



I'm trying to do this to be able to run Symfony2. So if you have any advice on how to install MySQL+Apache+PHP+Symfony2 on Mac, thats also welcome :)










share|improve this question

















  • 1





    Note that there is a stub implementation of intl included with Symfony2 which will provide you with the bare minimum of functionality for the 'en' locale. The standard edition loads the stubs by default: github.com/symfony/symfony-standard/blob/master/app/…

    – igorw
    Mar 30 '11 at 13:10











  • After a first tried with pecl install intl (inside /Applications/MAMP/bin/php/php5.4.10/bin) that run into another kind of problem. I found my solution here: stackoverflow.com/questions/10717752/…

    – AsTeR
    Jun 12 '13 at 12:30

















12















Ok, I'm running MAMP 1.9.5, which includes PHP 5.3.5, on my MacBook Pro.



The "intl" extension isn't included/activated and I've tried a lot of different ways to install it ("./pecl install intl" doesn't seem to do it), but can't make it work.



I've also "googled my ass of" but can't find any hints.



Anyone of you that know how to do it? Or, alternatively, have and advice on how to install my own MySQL+Apache+PHP (and include "intl")?



I'm trying to do this to be able to run Symfony2. So if you have any advice on how to install MySQL+Apache+PHP+Symfony2 on Mac, thats also welcome :)










share|improve this question

















  • 1





    Note that there is a stub implementation of intl included with Symfony2 which will provide you with the bare minimum of functionality for the 'en' locale. The standard edition loads the stubs by default: github.com/symfony/symfony-standard/blob/master/app/…

    – igorw
    Mar 30 '11 at 13:10











  • After a first tried with pecl install intl (inside /Applications/MAMP/bin/php/php5.4.10/bin) that run into another kind of problem. I found my solution here: stackoverflow.com/questions/10717752/…

    – AsTeR
    Jun 12 '13 at 12:30













12












12








12


9






Ok, I'm running MAMP 1.9.5, which includes PHP 5.3.5, on my MacBook Pro.



The "intl" extension isn't included/activated and I've tried a lot of different ways to install it ("./pecl install intl" doesn't seem to do it), but can't make it work.



I've also "googled my ass of" but can't find any hints.



Anyone of you that know how to do it? Or, alternatively, have and advice on how to install my own MySQL+Apache+PHP (and include "intl")?



I'm trying to do this to be able to run Symfony2. So if you have any advice on how to install MySQL+Apache+PHP+Symfony2 on Mac, thats also welcome :)










share|improve this question














Ok, I'm running MAMP 1.9.5, which includes PHP 5.3.5, on my MacBook Pro.



The "intl" extension isn't included/activated and I've tried a lot of different ways to install it ("./pecl install intl" doesn't seem to do it), but can't make it work.



I've also "googled my ass of" but can't find any hints.



Anyone of you that know how to do it? Or, alternatively, have and advice on how to install my own MySQL+Apache+PHP (and include "intl")?



I'm trying to do this to be able to run Symfony2. So if you have any advice on how to install MySQL+Apache+PHP+Symfony2 on Mac, thats also welcome :)







php macos mamp php-extension symfony






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 29 '11 at 7:48









Manne WManne W

89431430




89431430







  • 1





    Note that there is a stub implementation of intl included with Symfony2 which will provide you with the bare minimum of functionality for the 'en' locale. The standard edition loads the stubs by default: github.com/symfony/symfony-standard/blob/master/app/…

    – igorw
    Mar 30 '11 at 13:10











  • After a first tried with pecl install intl (inside /Applications/MAMP/bin/php/php5.4.10/bin) that run into another kind of problem. I found my solution here: stackoverflow.com/questions/10717752/…

    – AsTeR
    Jun 12 '13 at 12:30












  • 1





    Note that there is a stub implementation of intl included with Symfony2 which will provide you with the bare minimum of functionality for the 'en' locale. The standard edition loads the stubs by default: github.com/symfony/symfony-standard/blob/master/app/…

    – igorw
    Mar 30 '11 at 13:10











  • After a first tried with pecl install intl (inside /Applications/MAMP/bin/php/php5.4.10/bin) that run into another kind of problem. I found my solution here: stackoverflow.com/questions/10717752/…

    – AsTeR
    Jun 12 '13 at 12:30







1




1





Note that there is a stub implementation of intl included with Symfony2 which will provide you with the bare minimum of functionality for the 'en' locale. The standard edition loads the stubs by default: github.com/symfony/symfony-standard/blob/master/app/…

– igorw
Mar 30 '11 at 13:10





Note that there is a stub implementation of intl included with Symfony2 which will provide you with the bare minimum of functionality for the 'en' locale. The standard edition loads the stubs by default: github.com/symfony/symfony-standard/blob/master/app/…

– igorw
Mar 30 '11 at 13:10













After a first tried with pecl install intl (inside /Applications/MAMP/bin/php/php5.4.10/bin) that run into another kind of problem. I found my solution here: stackoverflow.com/questions/10717752/…

– AsTeR
Jun 12 '13 at 12:30





After a first tried with pecl install intl (inside /Applications/MAMP/bin/php/php5.4.10/bin) that run into another kind of problem. I found my solution here: stackoverflow.com/questions/10717752/…

– AsTeR
Jun 12 '13 at 12:30












2 Answers
2






active

oldest

votes


















4














I just compiled on mine the other day.



I wrote a self reminder post here: http://szemian.wordpress.com/2011/03/21/compiling-intl-extension-for-mamp/



Let me know if you need further explanation. :)






share|improve this answer























  • Great! This one worked just fine! Will act as a self reminder for me too :)

    – Manne W
    Mar 29 '11 at 12:54











  • Glad it works! :) To be honest I haven't used it as I haven't worked on form validation yet. Please leave a comment if the extension is not working as expected.

    – szemian
    Mar 29 '11 at 14:38












  • Compiles for me and symfony2 stops asking me to install and enable it but it fails make test and gives me errors when i try to create a date field in forms

    – LondonGuy
    Jun 1 '11 at 14:20











  • @Psychonetics, I still haven't developed much on form and validation, just playing with the examples on the official documentation. I did not have any error when I tried a date form field type and validate it on latest beta. Would you elaborate the errors?

    – szemian
    Jun 2 '11 at 10:34






  • 2





    I solved my issue by downloading and install zend server ce, I took the compiled intl.so and added it to my MAMP setup and it worked fine. I decided to just use zend server ce instead as it has many other extensions pre-installed. Date field is working fine and i'm getting 0 errors.

    – LondonGuy
    Jun 2 '11 at 14:27


















20














The best way is to download PHP for OSX at http://php-osx.liip.ch/ and then copy the intl.so file from



/usr/local/php5-20121126-100332/lib/php/extensions/no-debug-non-zts-20100525/intl.so


to



/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-20100525/intl.so


Worked like a charm for me for PHP 5.4






share|improve this answer




















  • 2





    This seems to me the simplest way, thanks! I also enabled the apc.so accelerator like this, for Symfony2.

    – fishbaitfood
    Jan 13 '13 at 17:32












  • Nice, better solution than the "chosen" solution. Here's also a nice blog post with an alternative solution: blog.geertvd.be/2011/05/18/…

    – Daan
    Feb 8 '13 at 10:32






  • 1





    I using the right php.ini file, but it wasn't working. I found a PHP startup log saying the extension wasn't compiled with the same module as PHP so my intl.so extension was not loading. PHP Warning: PHP Startup: intl: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match This comment helped me and this guys keeps a version of intl.so up-t-date for MAMP

    – Daan
    Feb 8 '13 at 14:10












  • And if you keep getting an error, here's how to compile it yourself.

    – Daan
    Feb 8 '13 at 14:34











  • Great solution. For future visitors in need of a solution, this is the easiest solution! +1

    – Carrie Kendall
    Jun 6 '13 at 13:26










protected by Community Jul 31 '12 at 11:40



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?














2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














I just compiled on mine the other day.



I wrote a self reminder post here: http://szemian.wordpress.com/2011/03/21/compiling-intl-extension-for-mamp/



Let me know if you need further explanation. :)






share|improve this answer























  • Great! This one worked just fine! Will act as a self reminder for me too :)

    – Manne W
    Mar 29 '11 at 12:54











  • Glad it works! :) To be honest I haven't used it as I haven't worked on form validation yet. Please leave a comment if the extension is not working as expected.

    – szemian
    Mar 29 '11 at 14:38












  • Compiles for me and symfony2 stops asking me to install and enable it but it fails make test and gives me errors when i try to create a date field in forms

    – LondonGuy
    Jun 1 '11 at 14:20











  • @Psychonetics, I still haven't developed much on form and validation, just playing with the examples on the official documentation. I did not have any error when I tried a date form field type and validate it on latest beta. Would you elaborate the errors?

    – szemian
    Jun 2 '11 at 10:34






  • 2





    I solved my issue by downloading and install zend server ce, I took the compiled intl.so and added it to my MAMP setup and it worked fine. I decided to just use zend server ce instead as it has many other extensions pre-installed. Date field is working fine and i'm getting 0 errors.

    – LondonGuy
    Jun 2 '11 at 14:27















4














I just compiled on mine the other day.



I wrote a self reminder post here: http://szemian.wordpress.com/2011/03/21/compiling-intl-extension-for-mamp/



Let me know if you need further explanation. :)






share|improve this answer























  • Great! This one worked just fine! Will act as a self reminder for me too :)

    – Manne W
    Mar 29 '11 at 12:54











  • Glad it works! :) To be honest I haven't used it as I haven't worked on form validation yet. Please leave a comment if the extension is not working as expected.

    – szemian
    Mar 29 '11 at 14:38












  • Compiles for me and symfony2 stops asking me to install and enable it but it fails make test and gives me errors when i try to create a date field in forms

    – LondonGuy
    Jun 1 '11 at 14:20











  • @Psychonetics, I still haven't developed much on form and validation, just playing with the examples on the official documentation. I did not have any error when I tried a date form field type and validate it on latest beta. Would you elaborate the errors?

    – szemian
    Jun 2 '11 at 10:34






  • 2





    I solved my issue by downloading and install zend server ce, I took the compiled intl.so and added it to my MAMP setup and it worked fine. I decided to just use zend server ce instead as it has many other extensions pre-installed. Date field is working fine and i'm getting 0 errors.

    – LondonGuy
    Jun 2 '11 at 14:27













4












4








4







I just compiled on mine the other day.



I wrote a self reminder post here: http://szemian.wordpress.com/2011/03/21/compiling-intl-extension-for-mamp/



Let me know if you need further explanation. :)






share|improve this answer













I just compiled on mine the other day.



I wrote a self reminder post here: http://szemian.wordpress.com/2011/03/21/compiling-intl-extension-for-mamp/



Let me know if you need further explanation. :)







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 29 '11 at 12:43









szemianszemian

6061514




6061514












  • Great! This one worked just fine! Will act as a self reminder for me too :)

    – Manne W
    Mar 29 '11 at 12:54











  • Glad it works! :) To be honest I haven't used it as I haven't worked on form validation yet. Please leave a comment if the extension is not working as expected.

    – szemian
    Mar 29 '11 at 14:38












  • Compiles for me and symfony2 stops asking me to install and enable it but it fails make test and gives me errors when i try to create a date field in forms

    – LondonGuy
    Jun 1 '11 at 14:20











  • @Psychonetics, I still haven't developed much on form and validation, just playing with the examples on the official documentation. I did not have any error when I tried a date form field type and validate it on latest beta. Would you elaborate the errors?

    – szemian
    Jun 2 '11 at 10:34






  • 2





    I solved my issue by downloading and install zend server ce, I took the compiled intl.so and added it to my MAMP setup and it worked fine. I decided to just use zend server ce instead as it has many other extensions pre-installed. Date field is working fine and i'm getting 0 errors.

    – LondonGuy
    Jun 2 '11 at 14:27

















  • Great! This one worked just fine! Will act as a self reminder for me too :)

    – Manne W
    Mar 29 '11 at 12:54











  • Glad it works! :) To be honest I haven't used it as I haven't worked on form validation yet. Please leave a comment if the extension is not working as expected.

    – szemian
    Mar 29 '11 at 14:38












  • Compiles for me and symfony2 stops asking me to install and enable it but it fails make test and gives me errors when i try to create a date field in forms

    – LondonGuy
    Jun 1 '11 at 14:20











  • @Psychonetics, I still haven't developed much on form and validation, just playing with the examples on the official documentation. I did not have any error when I tried a date form field type and validate it on latest beta. Would you elaborate the errors?

    – szemian
    Jun 2 '11 at 10:34






  • 2





    I solved my issue by downloading and install zend server ce, I took the compiled intl.so and added it to my MAMP setup and it worked fine. I decided to just use zend server ce instead as it has many other extensions pre-installed. Date field is working fine and i'm getting 0 errors.

    – LondonGuy
    Jun 2 '11 at 14:27
















Great! This one worked just fine! Will act as a self reminder for me too :)

– Manne W
Mar 29 '11 at 12:54





Great! This one worked just fine! Will act as a self reminder for me too :)

– Manne W
Mar 29 '11 at 12:54













Glad it works! :) To be honest I haven't used it as I haven't worked on form validation yet. Please leave a comment if the extension is not working as expected.

– szemian
Mar 29 '11 at 14:38






Glad it works! :) To be honest I haven't used it as I haven't worked on form validation yet. Please leave a comment if the extension is not working as expected.

– szemian
Mar 29 '11 at 14:38














Compiles for me and symfony2 stops asking me to install and enable it but it fails make test and gives me errors when i try to create a date field in forms

– LondonGuy
Jun 1 '11 at 14:20





Compiles for me and symfony2 stops asking me to install and enable it but it fails make test and gives me errors when i try to create a date field in forms

– LondonGuy
Jun 1 '11 at 14:20













@Psychonetics, I still haven't developed much on form and validation, just playing with the examples on the official documentation. I did not have any error when I tried a date form field type and validate it on latest beta. Would you elaborate the errors?

– szemian
Jun 2 '11 at 10:34





@Psychonetics, I still haven't developed much on form and validation, just playing with the examples on the official documentation. I did not have any error when I tried a date form field type and validate it on latest beta. Would you elaborate the errors?

– szemian
Jun 2 '11 at 10:34




2




2





I solved my issue by downloading and install zend server ce, I took the compiled intl.so and added it to my MAMP setup and it worked fine. I decided to just use zend server ce instead as it has many other extensions pre-installed. Date field is working fine and i'm getting 0 errors.

– LondonGuy
Jun 2 '11 at 14:27





I solved my issue by downloading and install zend server ce, I took the compiled intl.so and added it to my MAMP setup and it worked fine. I decided to just use zend server ce instead as it has many other extensions pre-installed. Date field is working fine and i'm getting 0 errors.

– LondonGuy
Jun 2 '11 at 14:27













20














The best way is to download PHP for OSX at http://php-osx.liip.ch/ and then copy the intl.so file from



/usr/local/php5-20121126-100332/lib/php/extensions/no-debug-non-zts-20100525/intl.so


to



/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-20100525/intl.so


Worked like a charm for me for PHP 5.4






share|improve this answer




















  • 2





    This seems to me the simplest way, thanks! I also enabled the apc.so accelerator like this, for Symfony2.

    – fishbaitfood
    Jan 13 '13 at 17:32












  • Nice, better solution than the "chosen" solution. Here's also a nice blog post with an alternative solution: blog.geertvd.be/2011/05/18/…

    – Daan
    Feb 8 '13 at 10:32






  • 1





    I using the right php.ini file, but it wasn't working. I found a PHP startup log saying the extension wasn't compiled with the same module as PHP so my intl.so extension was not loading. PHP Warning: PHP Startup: intl: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match This comment helped me and this guys keeps a version of intl.so up-t-date for MAMP

    – Daan
    Feb 8 '13 at 14:10












  • And if you keep getting an error, here's how to compile it yourself.

    – Daan
    Feb 8 '13 at 14:34











  • Great solution. For future visitors in need of a solution, this is the easiest solution! +1

    – Carrie Kendall
    Jun 6 '13 at 13:26
















20














The best way is to download PHP for OSX at http://php-osx.liip.ch/ and then copy the intl.so file from



/usr/local/php5-20121126-100332/lib/php/extensions/no-debug-non-zts-20100525/intl.so


to



/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-20100525/intl.so


Worked like a charm for me for PHP 5.4






share|improve this answer




















  • 2





    This seems to me the simplest way, thanks! I also enabled the apc.so accelerator like this, for Symfony2.

    – fishbaitfood
    Jan 13 '13 at 17:32












  • Nice, better solution than the "chosen" solution. Here's also a nice blog post with an alternative solution: blog.geertvd.be/2011/05/18/…

    – Daan
    Feb 8 '13 at 10:32






  • 1





    I using the right php.ini file, but it wasn't working. I found a PHP startup log saying the extension wasn't compiled with the same module as PHP so my intl.so extension was not loading. PHP Warning: PHP Startup: intl: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match This comment helped me and this guys keeps a version of intl.so up-t-date for MAMP

    – Daan
    Feb 8 '13 at 14:10












  • And if you keep getting an error, here's how to compile it yourself.

    – Daan
    Feb 8 '13 at 14:34











  • Great solution. For future visitors in need of a solution, this is the easiest solution! +1

    – Carrie Kendall
    Jun 6 '13 at 13:26














20












20








20







The best way is to download PHP for OSX at http://php-osx.liip.ch/ and then copy the intl.so file from



/usr/local/php5-20121126-100332/lib/php/extensions/no-debug-non-zts-20100525/intl.so


to



/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-20100525/intl.so


Worked like a charm for me for PHP 5.4






share|improve this answer















The best way is to download PHP for OSX at http://php-osx.liip.ch/ and then copy the intl.so file from



/usr/local/php5-20121126-100332/lib/php/extensions/no-debug-non-zts-20100525/intl.so


to



/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-20100525/intl.so


Worked like a charm for me for PHP 5.4







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 3 '13 at 9:28









j0k

20.4k136877




20.4k136877










answered Jan 3 '13 at 9:17









antoine129antoine129

2,77211643




2,77211643







  • 2





    This seems to me the simplest way, thanks! I also enabled the apc.so accelerator like this, for Symfony2.

    – fishbaitfood
    Jan 13 '13 at 17:32












  • Nice, better solution than the "chosen" solution. Here's also a nice blog post with an alternative solution: blog.geertvd.be/2011/05/18/…

    – Daan
    Feb 8 '13 at 10:32






  • 1





    I using the right php.ini file, but it wasn't working. I found a PHP startup log saying the extension wasn't compiled with the same module as PHP so my intl.so extension was not loading. PHP Warning: PHP Startup: intl: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match This comment helped me and this guys keeps a version of intl.so up-t-date for MAMP

    – Daan
    Feb 8 '13 at 14:10












  • And if you keep getting an error, here's how to compile it yourself.

    – Daan
    Feb 8 '13 at 14:34











  • Great solution. For future visitors in need of a solution, this is the easiest solution! +1

    – Carrie Kendall
    Jun 6 '13 at 13:26













  • 2





    This seems to me the simplest way, thanks! I also enabled the apc.so accelerator like this, for Symfony2.

    – fishbaitfood
    Jan 13 '13 at 17:32












  • Nice, better solution than the "chosen" solution. Here's also a nice blog post with an alternative solution: blog.geertvd.be/2011/05/18/…

    – Daan
    Feb 8 '13 at 10:32






  • 1





    I using the right php.ini file, but it wasn't working. I found a PHP startup log saying the extension wasn't compiled with the same module as PHP so my intl.so extension was not loading. PHP Warning: PHP Startup: intl: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match This comment helped me and this guys keeps a version of intl.so up-t-date for MAMP

    – Daan
    Feb 8 '13 at 14:10












  • And if you keep getting an error, here's how to compile it yourself.

    – Daan
    Feb 8 '13 at 14:34











  • Great solution. For future visitors in need of a solution, this is the easiest solution! +1

    – Carrie Kendall
    Jun 6 '13 at 13:26








2




2





This seems to me the simplest way, thanks! I also enabled the apc.so accelerator like this, for Symfony2.

– fishbaitfood
Jan 13 '13 at 17:32






This seems to me the simplest way, thanks! I also enabled the apc.so accelerator like this, for Symfony2.

– fishbaitfood
Jan 13 '13 at 17:32














Nice, better solution than the "chosen" solution. Here's also a nice blog post with an alternative solution: blog.geertvd.be/2011/05/18/…

– Daan
Feb 8 '13 at 10:32





Nice, better solution than the "chosen" solution. Here's also a nice blog post with an alternative solution: blog.geertvd.be/2011/05/18/…

– Daan
Feb 8 '13 at 10:32




1




1





I using the right php.ini file, but it wasn't working. I found a PHP startup log saying the extension wasn't compiled with the same module as PHP so my intl.so extension was not loading. PHP Warning: PHP Startup: intl: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match This comment helped me and this guys keeps a version of intl.so up-t-date for MAMP

– Daan
Feb 8 '13 at 14:10






I using the right php.ini file, but it wasn't working. I found a PHP startup log saying the extension wasn't compiled with the same module as PHP so my intl.so extension was not loading. PHP Warning: PHP Startup: intl: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match This comment helped me and this guys keeps a version of intl.so up-t-date for MAMP

– Daan
Feb 8 '13 at 14:10














And if you keep getting an error, here's how to compile it yourself.

– Daan
Feb 8 '13 at 14:34





And if you keep getting an error, here's how to compile it yourself.

– Daan
Feb 8 '13 at 14:34













Great solution. For future visitors in need of a solution, this is the easiest solution! +1

– Carrie Kendall
Jun 6 '13 at 13:26






Great solution. For future visitors in need of a solution, this is the easiest solution! +1

– Carrie Kendall
Jun 6 '13 at 13:26






protected by Community Jul 31 '12 at 11:40



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?



Popular posts from this blog

Use pre created SQLite database for Android project in kotlin

Darth Vader #20

Ondo