How to install php extension using pecl for specific php version, when several php versions installed in system?

后端 未结 4 1690
攒了一身酷
攒了一身酷 2021-01-30 08:37

I have installed both php5.6 and php7.0 from PPA on Ubuntu according to this manual

http://lornajane.net/posts/2016/php-7-0-and-5-6-on-ubuntu

But I didn\'t get h

4条回答
  •  忘掉有多难
    2021-01-30 09:28

    First of all, get admin permission in Linux Environment- **Sudo su ** <> Then follow below syntax sudo apt-get install php7.3-bcmath

    Here php7.3 (Enter your php version and check by php -v) bcmath (Enter your extension name)

    And if you want to check list of active extensions enter (php -m) in terminal.

提交回复
热议问题