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

后端 未结 4 1609
攒了一身酷
攒了一身酷 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:34

    When pecl throws error is already installed and is the same as the released version

    Switch to required php, php-config, phpize versions before installing from pecl

    Just run it installation with force flag

    sudo pecl install -f 
    

提交回复
热议问题