• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question How to enable the intl extension in Plesk

heydemar

Basic Pleskian
Hi,

I need to enable the intl extension in my PHP Setting, but I don't finde anything.
Can somebody help me?

I use Plesk Obsidian v18.0.24_build1800200215.00 os_Ubuntu 18.04 and 7.2.19 by OS vendor FPM-Anwendung.
In my php.ini i have this line uncommented

Code:
extension=intl

Thank you!
 
if I understand you correct
goto Plesk Panel > Tools & Settings > PHP Settings > choose the php Version you use for the domain and see if intl is enabled
 
ah you are talking about the vendor php, so which OS do you use? and then you have to figgure out how to get it it for the os installed, because it isnt an Plesk issue
 
Last edited:
hmm this should work
For php7.2 on Ubuntu 18.04
sudo apt-get install php7.2-intl

but why do you need it on the vendor php and why do you not use the updated php versions from plesk which have intl default enabled?
 
Last edited:
Thank you:

Code:
root@vps4:~# sudo apt-get install php7.2-intl
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  php7.2-intl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 125 kB of archives.
After this operation, 512 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php7.2-intl amd64 7.2.24-0ubuntu0.18.04.3 [125 kB]
Fetched 125 kB in 0s (884 kB/s)
Selecting previously unselected package php7.2-intl.
(Reading database ... 182379 files and directories currently installed.)
Preparing to unpack .../php7.2-intl_7.2.24-0ubuntu0.18.04.3_amd64.deb ...
Unpacking php7.2-intl (7.2.24-0ubuntu0.18.04.3) ...
Setting up php7.2-intl (7.2.24-0ubuntu0.18.04.3) ...

Creating config file /etc/php/7.2/mods-available/intl.ini with new version
Processing triggers for php7.2-fpm (7.2.24-0ubuntu0.18.04.3) ...
NOTICE: Not enabling PHP 7.2 FPM by default.
NOTICE: To enable PHP 7.2 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.2-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Processing triggers for libapache2-mod-php7.2 (7.2.24-0ubuntu0.18.04.3) ...

But nothing in my Plesk Dashboard so enable:
 

Attachments

  • 2020-03-02_15-00-26.jpg
    2020-03-02_15-00-26.jpg
    55.8 KB · Views: 23
Try to run

# plesk bin php_handler --reread

and what about @Brujo question:
but why do you need it on the vendor php and why do you not use the updated php versions from plesk which have intl default enabled?
 
ah you are talking about the vendor php, so which OS do you use? and then you have to figgure out how to get it it for the os installed, because it isnt an Plesk issue
My:- OS Windows IIS
Can you send me how to install intl in this os?
 
Back
Top