31

I installed WAMP on my local machine. My PHP version is 5.3.3 in phpinfo() but that extension doesn't exist! :(

How can I install this extension without compiling it? Here is just source of it.

Jalal
  • 6,264
  • 9
  • 60
  • 98

4 Answers4

65

The extension was there! All you need to do is clearing the comment(;) before this line in php.ini file:

;extension=php_intl.dll

to

extension=php_intl.dll
Jalal
  • 6,264
  • 9
  • 60
  • 98
29

if you see this on Debian / other Linux platforms.

sudo apt-get install php5-intl - for PHP 5.6

sudo apt-get install php7.0-intl - PHP 7+

Amazon Linux

sudo yum install php70-intl

After that restart Apache services.

sudo service apache2 restart restart apache to get the changes.

Bira
  • 3,279
  • 1
  • 25
  • 40
4

It may be because of Apache. Restart Apache by following command

service httpd restart 

and try again.

rmunn
  • 32,398
  • 9
  • 70
  • 103
Archana
  • 241
  • 2
  • 5
  • 14
2

in wamp or xampp open php.ini file and find the below line, then remove comment (;) at first of it:

;extension=php_intl.dll

if you did not find the line, add it in the php.ini file:

extension=php_intl.dll

Mohammad Aghayari
  • 952
  • 3
  • 13
  • 35