Php configure wrong php version

Discussion in 'Installation/Configuration' started by Efex, Apr 17, 2020.

  1. Efex

    Efex Member

    I'm trying to install PHP snappy extension ([https://github.com/kjdev/php-ext-snappy][1]) for php7.3

    When i install with `phpsize` it gives me php7.1 api version
    I can change it with `phpsize7.3` It's ok!

    But when i run `./configure` it's use still php7.1

    How can i configure it with php7.3?
     
  2. Efex

    Efex Member

    It's fixed as following

    phpize7.3
    ./configure --with-php-config=/usr/bin/php-config7.3 ***** FIX ******
    make
    sudo make install
     

Share This Page