$ port search php5 php-eaccelerator @0.9.6.1 (php, www, devel) php5 extension for PHP acceleration, optimization, and dynamic content caching php-xdebug @2.2.1 (php, net, devel) php5 extension for php debugging php5 @5.3.15 (lang, php, www) PHP: Hypertext Preprocessor php5-amf @0.9.2 (php, devel) ActionScript Message Format extension php5-apc @3.1.9 (php, devel) Alternative PHP Cache ... $ sudo port install php5
$ port list - $ sudo port -v selfupdate - $ sudo port upgrade outdated - $ port deps nano - Full Name: nano @2.2.3_0 Library Dependencies: ncurses, gettext, libiconv $ port contents nano - $ port installed - $ port dependents erlang - , erlang $ sudo port uninstall nano - nano
$ ruby <(curl -fsSk https://raw.github.com/mxcl/homebrew/go)
$ brew doctor
$ sudo mkdir /usr/local/Cellar
$ brew doctor
Warning: Your Xcode is configured with an invalid path. You should change it to the correct path. Please note that there is no correct path at this time if you have *only* installed the Command Line Tools for Xcode. If your Xcode is pre-4.3 or you installed the whole of Xcode 4.3 then one of these is (probably) what you want: sudo xcode-select -switch /Developer sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer DO NOT SET / OR EVERYTHING BREAKS!
$ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
$ brew doctor
$ brew search git - $ brew info git - $ brew install git - $ brew update - Homebrew ( git) $ brew list - $ brew uninstall git - $ brew outdated - ,
Source: https://habr.com/ru/post/151023/
All Articles