Can't get to install 'intl' extension for php on debian

后端 未结 5 1999
南方客
南方客 2020-12-25 13:11

I have a Debian server and I want to install the intl extension through pecl.

During the installation it asks me:

"

5条回答
  •  萌比男神i
    2020-12-25 13:13

    You need to install libicu44 and libicu-dev:

    apt-get install libicu44 libicu-dev
    

    and after this you can install intl with pecl:

    ./pecl install intl
    

    Note if using Ubuntu:

    It lLooks like the first package libicu44 is not available, in which case just install libicu-dev and it will go through the dependencies and handle it for you. Seems to use libicu42 at the moment.

提交回复
热议问题