Public bug reported:

This applys to Ubuntu Xenial with both php5-dev (5.6.17+dfsg-3ubuntu1)
and php7.0-dev installed.

When building custom pecl extensions for PHP 5 on such a system (phpize
& configure --with-php-config=XXX), configure picks /usr/bin/php as the
php interpreter, which is provided by php7.0 (via dpkg divert)

The problem is, that php-config5 reports "/usr/bin/php" instead of
"/usr/bin/php5" as php-binary

$ php-config5 --php-binary
/usr/bin/php

where php-config7.0 is correct:

$ php-config7.0 --php-binary
/usr/bin/php7.0

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1584537

Title:
  php-config5 --php-binary reports path to wrong php binary

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1584537/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to