[SOLVED]Install and enable the intl extension

Installation and environment issues, mainly on 1.x but there's some 2.x here too.

Moderators: dwhittle, Ian

[SOLVED]Install and enable the intl extension

Postby Juli3n » Fri Apr 22, 2011 5:28 pm

Hello,

I'am trying to learn Symfony2. I have just download the PR12 and run the config.php file. I have an notice on the intl extension : "Install and enable the intl extension".
I have removed decomment the line in my php.ini (extension=php_intl.dll) and set the default_locale to fr but nothing change.

When I try a php -v command, I obtain the following warning : "PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/php_intl.dll'..."

Iam working on Mac OS X and php 5.3.4

Somebody can help me ?

Thank you
Last edited by Juli3n on Mon Apr 25, 2011 10:35 am, edited 1 time in total.
Juli3n
Junior Member
 
Posts: 3
Joined: Fri Apr 22, 2011 5:19 pm

Re: Install and enable the intl extension

Postby Juli3n » Fri Apr 22, 2011 8:14 pm

Hi,

Update situation::

I have installed intl with:

port install php5-intl


Now, intl seems to be installed but I have another problem.

In fact, port install a new version of PHP (5.3.6) I can see it when I type the command line php -v but the phpinfo() function says iam in 5.3.4. I think apache doesn't use the correct version of php. Does anyone know how to redefine it ?


(Sorry for my english...)
Juli3n
Junior Member
 
Posts: 3
Joined: Fri Apr 22, 2011 5:19 pm

Re: Install and enable the intl extension

Postby Juli3n » Mon Apr 25, 2011 10:35 am

Hi,

My problem is solved.

Just follow this link :http://php-osx.liip.ch/

Julien
Juli3n
Junior Member
 
Posts: 3
Joined: Fri Apr 22, 2011 5:19 pm


Return to Installation and setup

Who is online

Users browsing this forum: No registered users and 2 guests