Changes between Initial Version and Version 1 of Ticket #35291, comment 26
- Timestamp:
- Oct 18, 2012, 8:31:47 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35291, comment 26
initial v1 17 17 }}} 18 18 then 19 {{ 19 {{{ 20 20 $ which pear 21 }} 21 }}} 22 22 if it outputs /usr/local/bin/pear or something which not equals /opt/local/bin/pear, then it wrong too 23 {{ 23 {{{ 24 24 $ sudo pear uninstall pear 25 25 $ which pear 26 }} 26 }}} 27 27 if its still outputs old path, then, how you guess 28 {{ 28 {{{ 29 29 $ sudo rm /usr/local/bin/pear 30 }} 30 }}} 31 31 after that my which pear shows /opt/local/bin/pear (right path) 32 32 then i just do such actions 33 {{ 33 {{{ 34 34 $ sudo pear channel-discover pear.phpunit.de 35 35 $ sudo pear install pear.phpunit.de/PHPUnit 36 }} 36 }}} 37 37 then add to /opt/local/etc/php54/php.ini 38 {{ 38 {{{ 39 39 include_path = ".:/opt/local/lib/php54/pear/:/opt/local/lib/php54/pear/share/pear/" 40 }} 40 }}} 41 41 42 42 restarted apache and thats it) 43 {{ 43 {{{ 44 44 $ phpunit --version 45 45 PHPUnit 3.7.8 by Sebastian Bergmann. 46 }} 46 }}}