[MacPorts] #37683: [php-pear] Would PHP BIN be FORCED to 'php'?

MacPorts noreply at macports.org
Thu Jan 17 19:41:56 PST 2013


#37683: [php-pear] Would PHP BIN be FORCED to 'php'?
--------------------------+--------------------------------
  Reporter:  zsnakevil@…  |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  new
  Priority:  Low          |  Milestone:
 Component:  ports        |    Version:  2.1.2
Resolution:               |   Keywords:  php-pear bin
      Port:               |
--------------------------+--------------------------------

Comment (by zsnakevil@…):

 Mixed PEAR packages, both from MacPorts and 3rd parties channels, would be
 used. Such as //PHP_CompatInfo//, //phpDocumentor-alpha// (phpdoc2) and
 //PHPUnit// (latest v3.7.13, fresher than the port).

 In that case, for **/usr/bin/php** has been used by **pear** as default,
 all installed command-line utilities from 3rd parties would continue to
 use **/usr/bin/php**! EVEN my active PHP version is the port **php54**.

 Replying to [comment:1 pixilla@…]:
 > I do not think any port installs /opt/local/bin/pear nor does "sudo port
 select php php54".
 >
 > {{{
 > port provides /opt/local/bin/pear
 > }}}
 >
 > In MacPorts, the pear ports have names that start with "pear-".
 >
 > {{{
 > port echo name:^pear-
 > }}}
 > If you use MacPorts to manage your pear packages you are advised to not
 use the pear package manager directly.
 >
 > Do you have a specific question?

-- 
Ticket URL: <https://trac.macports.org/ticket/37683#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list