... | @@ -40,7 +40,7 @@ brew tap josegonzalez/homebrew-php |
... | @@ -40,7 +40,7 @@ brew tap josegonzalez/homebrew-php |
|
brew install php55
|
|
brew install php55
|
|
```
|
|
```
|
|
|
|
|
|
###### 4. install PHP extensions and dependencies
|
|
###### 4. install PHP extensions and dependencies
|
|
```bash
|
|
```bash
|
|
brew install autoconf icu4c libtool ossp-uuid php55-phalcon postgresql sqlite
|
|
brew install autoconf icu4c libtool ossp-uuid php55-phalcon postgresql sqlite
|
|
brew install wget freetype jpeg mcrypt pcre php55-xdebug readline subversion zlib gettext libpng mysql php55-intl
|
|
brew install wget freetype jpeg mcrypt pcre php55-xdebug readline subversion zlib gettext libpng mysql php55-intl
|
... | @@ -49,6 +49,34 @@ brew install wget freetype jpeg mcrypt pcre php55-xdebug readline subversion zli |
... | @@ -49,6 +49,34 @@ brew install wget freetype jpeg mcrypt pcre php55-xdebug readline subversion zli |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###### 5. Update bash environment paths.
|
|
|
|
|
|
|
|
1. Open (create if not there) the `.profile` file in your home directory.
|
|
|
|
2. Add these entries to the file. Replace existing entries, if any.
|
|
|
|
4. Replace `myusername ` with your exact user name as seen on the command line in `Terminal`.
|
|
|
|
```bash
|
|
|
|
export PATH=$(brew --prefix josegonzalez/php/php55)/bin:/usr/local/bin:/Users/myusername/phalcon-tools:$PATH
|
|
|
|
export PTOOLSPATH=/Users/myusername/phalcon-tools
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
php.ini comment out svn.so extension include
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
php5.conf in apache2/other
|
|
|
|
|
|
|
|
add line
|
|
|
|
|
|
|
|
LoadModule php5_module $HOMEBREW_PREFIX/Cellar/php55/5.5.8/libexec/apache2/libphp5.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### If you need to unsinstall Homebrew
|
|
##### If you need to unsinstall Homebrew
|
|
|
|
|
|
###### uninstall homebrew
|
|
###### uninstall homebrew
|
... | | ... | |