Changes between Version 2 and Version 3 of Ticket #35291, comment 26
- Timestamp:
- Oct 18, 2012, 8:37:31 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35291, comment 26
v2 v3 6 6 }}} 7 7 8 then i have uninstall it, because it need to be in /opt/local/bin/phpunit 9 so 8 then i have uninstall it, because it need to be in /opt/local/bin/phpunit. 10 9 {{{ 11 10 $ sudo pear uninstall phpunit/PHPUnit … … 20 19 $ which pear 21 20 }}} 22 if it outputs /usr/local/bin/pear or something which not equals /opt/local/bin/pear, then it wrong too 21 if it outputs 22 {{{ 23 /usr/local/bin/pear 24 }}} 25 or something which not equals 26 {{{ 27 /opt/local/bin/pear 28 }}} , then it wrong too 23 29 {{{ 24 30 $ sudo pear uninstall pear 25 31 $ which pear 26 32 }}} 27 if its still outputs old path, then, how you guess33 if its still outputs old path, then, how you may guess 28 34 {{{ 29 35 $ sudo rm /usr/local/bin/pear 30 36 }}} 31 after that my which pear shows /opt/local/bin/pear (right path). 37 after that my 38 {{{ 39 which pear 40 }}} shows 41 {{{ 42 /opt/local/bin/pear 43 }}} (right path). 32 44 33 45 If you don't have anything in output for which pear, so you need to install pear via macports. 34 46 35 Then i just dosuch actions47 Then i just have done such actions 36 48 {{{ 37 49 $ sudo pear channel-discover pear.phpunit.de 38 50 $ sudo pear install pear.phpunit.de/PHPUnit 39 51 }}} 40 then add to /opt/local/etc/php54/php.ini 52 then add to 53 {{{ 54 /opt/local/etc/php54/php.ini 55 }}} 41 56 {{{ 42 57 include_path = ".:/opt/local/lib/php54/pear/:/opt/local/lib/php54/pear/share/pear/"