随笔 - 298  文章 - 377  trackbacks - 0
<2024年11月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

常用链接

留言簿(34)

随笔分类

随笔档案

文章档案

相册

收藏夹

搜索

  •  

最新评论

阅读排行榜

评论排行榜

Last login: Wed Jun  8 08:58:45 on console

MACdeiMac:~ niewenlong$ brew install php53 --with-imap --with-tidy --with-debug --with-pgsql --with-mysql --with-fpm --with-libmysql --with-gmp

==> Installing php53 from josegonzalez/php

Warning: josegonzalez/php/php53: --with-pgsql was deprecated; using --with-postgresql instead!

==> Downloading https://php.net/get/php-5.3.29.tar.bz2/from/this/mirror

Already downloaded: /Users/niewenlong/Library/Caches/Homebrew/php53-5.3.29

==> Downloading https://gist.githubusercontent.com/javian/bfcbd5bc5874ee9c539fb3d642cdce3e/raw/bf079cc68ec76290f02f57981ae85b20a06dd428/multi-sapi-5.3.2

######################################################################## 100.0%

==> Patching

==> Applying multi-sapi-5.3.29-homebrew.patch

patching file Makefile.global

patching file Zend/acinclude.m4

patching file Zend/zend_language_parser.y

patching file acinclude.m4

patching file aclocal.m4

patching file configure

patching file configure.in

patching file generated_lists

patching file main/php_config.h.in

patching file sapi/cgi/Makefile.frag

patching file sapi/cgi/config9.m4

patching file sapi/cli/Makefile.frag

patching file sapi/cli/config.m4

patching file sapi/fpm/Makefile.frag

patching file sapi/fpm/config.m4

patching file sapi/litespeed/Makefile.frag

patching file sapi/litespeed/config.m4

patching file sapi/milter/Makefile.frag

patching file sapi/milter/config.m4

==> ./configure --prefix=/usr/local/Cellar/php53/5.3.29_4 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.3 --with-config-file-path=/us

==> make

==> make install

==> Caveats

To enable PHP in Apache add the following to httpd.conf and restart Apache:

    LoadModule php5_module    /usr/local/opt/php53/libexec/apache2/libphp5.so


The php.ini file can be found in:

    /usr/local/etc/php/5.3/php.ini


✩✩✩✩ Extensions ✩✩✩✩


If you are having issues with custom extension compiling, ensure that

you are using the brew version, by placing /usr/local/bin before /usr/sbin in your PATH:


      PATH="/usr/local/bin:$PATH"


PHP53 Extensions will always be compiled against this PHP. Please install them

using --without-homebrew-php to enable compiling against system PHP.


✩✩✩✩ PHP CLI ✩✩✩✩


If you wish to swap the PHP you use on the command line, you should add the following to ~/.bashrc,

~/.zshrc, ~/.profile or your shell's equivalent configuration file:


      export PATH="$(brew --prefix homebrew/php/php53)/bin:$PATH"


GMP has moved to its own formula, please install it by running: brew install php53-gmp


✩✩✩✩ FPM ✩✩✩✩


To launch php-fpm on startup:

    mkdir -p ~/Library/LaunchAgents

    cp /usr/local/opt/php53/homebrew.mxcl.php53.plist ~/Library/LaunchAgents/

    launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php53.plist


The control script is located at /usr/local/opt/php53/sbin/php53-fpm


OS X 10.8 and newer come with php-fpm pre-installed, to ensure you are using the brew version you need to make sure /usr/local/sbin is before /usr/sbin in your PATH:


  PATH="/usr/local/sbin:$PATH"


You may also need to edit the plist to use the correct "UserName".


Please note that the plist was called 'homebrew-php.josegonzalez.php53.plist' in old versions

of this formula.


To have launchd start josegonzalez/php/php53 now and restart at login:

  brew services start josegonzalez/php/php53

==> Summary

🍺  /usr/local/Cellar/php53/5.3.29_4: 299 files, 49.9M, built in 3 minutes 15 seconds

MACdeiMac:~ niewenlong$ 

@import url(http://www.cppblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
posted on 2016-06-08 09:07 聂文龙 阅读(1139) 评论(4)  编辑 收藏 引用

FeedBack:
# re: MAC brew install PHP5.3 2016-06-08 09:48 聂文龙
Mac OS使用brew安装Nginx、MySQL、PHP-FPM的LAMP开发环境

2014-05-28
准备工作

新版的 Mac OS 内置了Apache 和 PHP,我的系统版本是OS X 10.9.3,可以通过以下命令查看Apache和PHP的版本号:

httpd -v

Server version: Apache/2.2.26 (Unix)
Server built: Dec 10 2013 22:09:38

php --version

PHP 5.4.24 (cli) (built: Jan 19 2014 21:32:15)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
因为我们要自己动手来安装 Nginx,因此首先来关闭系统自带的apache:

sudo apachectl stop #关闭apache,如果事先没开启过,可以忽略报错信息
如果你的apache已经加入了launchctl,使用下面的命令来关闭:

sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
为什么选择关闭apache?因为mac os x系统自带的apache是没有优雅的remove/uninstall 的方式的… 对于“洁癖”比较严重的童鞋,可以选择直接删除相关的文件!(千万不要手抖删错目录…)

sudo rm /usr/sbin/apachectl
sudo rm /usr/sbin/httpd
sudo rm -r /etc/apache2/
删除自带的php

sudo rm -r /usr/bin/php
如果没有安装brew,可以按照官网的步骤安装

http://brew.sh/
nginx的安装与配置

安装nginx

brew install nginx
修改配置文件

sudo vim /usr/local/etc/nginx/nginx.conf
#修改默认的8080端口为80
给予管理员权限

sudo chown root:wheel/usr/local/opt/nginx/bin/nginx
sudo chmod u+s/usr/local/opt/nginx/bin/nginx
加入launchctl启动控制

mkdir -p ~/Library/LaunchAgents
cp /usr/local/opt/nginx/homebrew.mxcl.nginx.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
运行nginx

sudo nginx #打开 nginx
nginx -s reload|reopen|stop|quit #重新加载配置|重启|停止|退出 nginx
nginx -t #测试配置是否有语法错误
用法详解

nginx [-?hvVtq] [-s signal] [-c filename] [-p prefix] [-g directives]
选项列表

-?,-h : 打开帮助信息
-v : 显示版本信息并退出
-V : 显示版本和配置选项信息,然后退出
-t : 检测配置文件是否有语法错误,然后退出
-q : 在检测配置文件期间屏蔽非错误信息
-s signal : 给一个 nginx 主进程发送信号:stop(停止), quit(退出), reopen(重启), reload(重新加载配置文件)
-p prefix : 设置前缀路径(默认是:/usr/local/Cellar/nginx/1.2.6/)
-c filename : 设置配置文件(默认是:/usr/local/etc/nginx/nginx.conf)
-g directives : 设置配置文件外的全局指令
mysql的安装与配置

安装mysql

brew install mysql
cd /usr/local/opt/mysql/
修改配置文件

sudo vim my.cnf
#如果出现无法启动mysql,rm my.cnf
加入launchctl启动控制

mkdir -p ~/Library/LaunchAgents/
cp /usr/local/opt/mysql/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
#取消启动
#launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
初始化 mysql

./bin/mysql_install_db
执行安全设置脚本,设置root账号密码

./bin/mysql_secure_installation
命令行连接mysql

mysql -uroot -p
php的安装与配置

brew 默认没有 php 安装包:

brew tap homebrew/dupes
brew tap josegonzalez/homebrew-php
现在可以安装php了:

brew install php54 --with-imap --with-tidy --with-debug --with-mysql --with-fpm
将php路径加入PATH

sudo vim ~/.bash_profile
export PATH="$(brew --prefix php54)/bin:$PATH"

source ~/.bash_profile
加入launchctl启动控制

mkdir -p ~/Library/LaunchAgents
cp /usr/local/opt/php54/homebrew.mxcl.php54.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php54.plist
配置路径

/usr/local/etc/php/5.4/php.ini
/usr/local/etc/php/5.4/php-fpm.conf
配置 Nginx 支持 PHP-FPM

sudo vim /usr/local/etc/nginx/nginx.conf

# 添加默认首页 php
index index.php index.html index.htm;

# 取消以下内容的注释,并做修改
location ~ \.php$ {
fastcgi_intercept_errors on;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /usr/local/Cellar/nginx/1.6.0_1/html$fastcgi_script_name;
include /usr/local/etc/nginx/fastcgi_params;
}
测试环境

sudo vim /usr/local/Cellar/nginx/1.6.0_1/html/index.php

#添加测试代码
<?php
phpinfo();
结语

到目前为止,我们的Nginx、MySQL、PHP-FPM三大软件已经安装好了,针对不同的系统版本和软件版本,可能会遇到一些问题,欢迎留言探讨。

原文链接:http://tabalt.net/blog/install-nginx-mysql-php-fpm-by-brew-on-mac/
本博文章如无说明均为原创,转载时请注明以上链接  回复  更多评论
  
# re: MAC brew install PHP5.3 2016-06-11 20:40 聂文龙
bash-3.2# brew install mysql
==> Downloading https://homebrew.bintray.com/bottles/mysql-5.7.13.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring mysql-5.7.13.el_capitan.bottle.tar.gz
==> /usr/local/Cellar/mysql/5.7.13/bin/mysqld --initialize-insecure --user=root --basedir=/usr/local/Cellar/mysql/5.7.13 --datadir=/usr/local/var/mysql --t
==> Caveats
We've installed your MySQL database without a root password. To secure it run:
mysql_secure_installation

To connect run:
mysql -uroot

A "/etc/my.cnf" from another install may interfere with a Homebrew-built
server starting up correctly.

To have launchd start mysql now and restart at login:
brew services start mysql
Or, if you don't want/need a background service you can just run:
mysql.server start
==> Summary
🍺 /usr/local/Cellar/mysql/5.7.13: 13,344 files, 445.0M
bash-3.2#   回复  更多评论
  
# re: MAC brew install PHP5.3 2016-06-11 20:59 聂文龙
bash-3.2# brew install php53 --with-imap --with-tidy --with-debug --with-mysql --with-fpm --with-libmysql --with-gmp
==> Installing php53 from homebrew/php
==> Downloading https://php.net/get/php-5.3.29.tar.bz2/from/this/mirror
Already downloaded: /Users/niewenlong/Library/Caches/Homebrew/php53-5.3.29
==> Downloading https://gist.githubusercontent.com/javian/bfcbd5bc5874ee9c539fb3d642cdce3e/raw/bf079cc68ec76290f02f57981ae85b20a06dd428/multi-sapi-5.3.29-h
Already downloaded: /Users/niewenlong/Library/Caches/Homebrew/php53--patch-3c3157bc5c4346108a398798b84dbbaa13409c43d3996bea2ddacb3277e0cee2.patch
==> Patching
==> Applying multi-sapi-5.3.29-homebrew.patch
patching file Makefile.global
patching file Zend/acinclude.m4
patching file Zend/zend_language_parser.y
patching file acinclude.m4
patching file aclocal.m4
patching file configure
patching file configure.in
patching file generated_lists
patching file main/php_config.h.in
patching file sapi/cgi/Makefile.frag
patching file sapi/cgi/config9.m4
patching file sapi/cli/Makefile.frag
patching file sapi/cli/config.m4
patching file sapi/fpm/Makefile.frag
patching file sapi/fpm/config.m4
patching file sapi/litespeed/Makefile.frag
patching file sapi/litespeed/config.m4
patching file sapi/milter/Makefile.frag
patching file sapi/milter/config.m4
==> ./configure --prefix=/usr/local/Cellar/php53/5.3.29_4 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.3 --with-config-file-path=/usr/l
==> make
==> make install
==> Caveats
To enable PHP in Apache add the following to httpd.conf and restart Apache:
LoadModule php5_module /usr/local/opt/php53/libexec/apache2/libphp5.so

The php.ini file can be found in:
/usr/local/etc/php/5.3/php.ini

✩✩✩✩ Extensions ✩✩✩✩

If you are having issues with custom extension compiling, ensure that
you are using the brew version, by placing /usr/local/bin before /usr/sbin in your PATH:

PATH="/usr/local/bin:$PATH"

PHP53 Extensions will always be compiled against this PHP. Please install them
using --without-homebrew-php to enable compiling against system PHP.

✩✩✩✩ PHP CLI ✩✩✩✩

If you wish to swap the PHP you use on the command line, you should add the following to ~/.bashrc,
~/.zshrc, ~/.profile or your shell's equivalent configuration file:

export PATH="$(brew --prefix homebrew/php/php53)/bin:$PATH"

GMP has moved to its own formula, please install it by running: brew install php53-gmp

✩✩✩✩ FPM ✩✩✩✩

To launch php-fpm on startup:
mkdir -p ~/Library/LaunchAgents
cp /usr/local/opt/php53/homebrew.mxcl.php53.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php53.plist

The control script is located at /usr/local/opt/php53/sbin/php53-fpm

OS X 10.8 and newer come with php-fpm pre-installed, to ensure you are using the brew version you need to make sure /usr/local/sbin is before /usr/sbin in your PATH:

PATH="/usr/local/sbin:$PATH"

You may also need to edit the plist to use the correct "UserName".

Please note that the plist was called 'homebrew-php.josegonzalez.php53.plist' in old versions
of this formula.

To have launchd start homebrew/php/php53 now and restart at login:
brew services start homebrew/php/php53
==> Summary
🍺 /usr/local/Cellar/php53/5.3.29_4: 299 files, 49.5M, built in 2 minutes 56 seconds
bash-3.2#
  回复  更多评论
  
# re: MAC brew install PHP5.3 2016-06-11 23:36 聂文龙

bash-3.2# brew install php53-apcu php53-gearman php53-geoip php53-gmagick php53-imagick php53-intl php53-mcrypt php53-memcache php53-memcached php53-mongo php53-opcache php53-phalcon php53-redis php53-sphinx php53-swoole php53-uuid php53-xdebug;
==> Installing php53-apcu from homebrew/php
==> Downloading https://homebrew.bintray.com/bottles-php/php53-apcu-4.0.8.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring php53-apcu-4.0.8.el_capitan.bottle.tar.gz
==> Caveats
To finish installing apcu for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-apcu.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the apcu module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the apcu module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-apcu/4.0.8: 6 files, 94.5K
==> Installing php53-gearman from homebrew/php
==> Installing dependencies for homebrew/php/php53-gearman: boost, gearman
==> Installing homebrew/php/php53-gearman dependency: boost
==> Downloading https://homebrew.bintray.com/bottles/boost-1.60.0_2.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring boost-1.60.0_2.el_capitan.bottle.1.tar.gz
🍺 /usr/local/Cellar/boost/1.60.0_2: 11,139 files, 434.0M
==> Installing homebrew/php/php53-gearman dependency: gearman
==> Downloading https://homebrew.bintray.com/bottles/gearman-1.1.12.el_capitan.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring gearman-1.1.12.el_capitan.bottle.2.tar.gz
==> Caveats
To have launchd start gearman now and restart at login:
brew services start gearman
Or, if you don't want/need a background service you can just run:
gearmand -d
==> Summary
🍺 /usr/local/Cellar/gearman/1.1.12: 210 files, 1.7M
==> Installing homebrew/php/php53-gearman
==> Downloading https://homebrew.bintray.com/bottles-php/php53-gearman-1.1.2.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring php53-gearman-1.1.2.el_capitan.bottle.1.tar.gz
==> Caveats
To finish installing gearman for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-gearman.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the gearman module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the gearman module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-gearman/1.1.2: 5 files, 117.5K
==> Installing php53-geoip from homebrew/php
==> Installing dependencies for homebrew/php/php53-geoip: geoip
==> Installing homebrew/php/php53-geoip dependency: geoip
==> Downloading https://homebrew.bintray.com/bottles/geoip-1.6.9.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring geoip-1.6.9.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/geoip/1.6.9: 17 files, 553.2K
==> Installing homebrew/php/php53-geoip
==> Downloading https://homebrew.bintray.com/bottles-php/php53-geoip-1.1.0.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring php53-geoip-1.1.0.el_capitan.bottle.1.tar.gz
==> Caveats
To finish installing geoip for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-geoip.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the geoip module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the geoip module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-geoip/1.1.0: 5 files, 29.6K
==> Installing php53-gmagick from homebrew/php
==> Installing dependencies for homebrew/php/php53-gmagick: libtool, libtiff, graphicsmagick
==> Installing homebrew/php/php53-gmagick dependency: libtool
==> Downloading https://homebrew.bintray.com/bottles/libtool-2.4.6.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtool-2.4.6.el_capitan.bottle.tar.gz
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.
==> Summary
🍺 /usr/local/Cellar/libtool/2.4.6: 70 files, 3.7M
==> Installing homebrew/php/php53-gmagick dependency: libtiff
==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.6_1.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtiff-4.0.6_1.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/libtiff/4.0.6_1: 261 files, 3.4M
==> Installing homebrew/php/php53-gmagick dependency: graphicsmagick
==> Downloading https://homebrew.bintray.com/bottles/graphicsmagick-1.3.24.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring graphicsmagick-1.3.24.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/graphicsmagick/1.3.24: 475 files, 11.9M
==> Installing homebrew/php/php53-gmagick
==> Downloading https://homebrew.bintray.com/bottles-php/php53-gmagick-1.1.7RC2.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring php53-gmagick-1.1.7RC2.el_capitan.bottle.1.tar.gz
==> Caveats
To finish installing gmagick for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-gmagick.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the gmagick module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the gmagick module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-gmagick/1.1.7RC2: 4 files, 167.2K
==> Installing php53-imagick from homebrew/php
==> Installing dependencies for homebrew/php/php53-imagick: xz, imagemagick
==> Installing homebrew/php/php53-imagick dependency: xz
==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.2.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring xz-5.2.2.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/xz/5.2.2: 91 files, 1.4M
==> Installing homebrew/php/php53-imagick dependency: imagemagick
==> Downloading https://homebrew.bintray.com/bottles/imagemagick-6.9.4-7.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring imagemagick-6.9.4-7.el_capitan.bottle.1.tar.gz
🍺 /usr/local/Cellar/imagemagick/6.9.4-7: 1,460 files, 17.9M
==> Installing homebrew/php/php53-imagick
==> Downloading https://homebrew.bintray.com/bottles-php/php53-imagick-3.3.0_2.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring php53-imagick-3.3.0_2.el_capitan.bottle.tar.gz
==> Caveats
To finish installing imagick for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-imagick.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the imagick module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the imagick module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-imagick/3.3.0_2: 2 files, 326.9K
==> Installing php53-intl from homebrew/php
==> Downloading https://homebrew.bintray.com/bottles-php/php53-intl-5.3.29_1.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring php53-intl-5.3.29_1.el_capitan.bottle.tar.gz
==> Caveats
To finish installing intl for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-intl.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the intl module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the intl module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-intl/5.3.29_1: 5 files, 517.5K
==> Installing php53-mcrypt from homebrew/php
==> Installing dependencies for homebrew/php/php53-mcrypt: mhash, mcrypt
==> Installing homebrew/php/php53-mcrypt dependency: mhash
==> Downloading https://homebrew.bintray.com/bottles/mhash-0.9.9.9.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring mhash-0.9.9.9.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/mhash/0.9.9.9: 19 files, 452.8K
==> Installing homebrew/php/php53-mcrypt dependency: mcrypt
==> Downloading https://homebrew.bintray.com/bottles/mcrypt-2.6.8.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring mcrypt-2.6.8.el_capitan.bottle.1.tar.gz
🍺 /usr/local/Cellar/mcrypt/2.6.8: 18 files, 396.3K
==> Installing homebrew/php/php53-mcrypt
==> Downloading https://homebrew.bintray.com/bottles-php/php53-mcrypt-5.3.29.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring php53-mcrypt-5.3.29.el_capitan.bottle.tar.gz
==> Caveats
To finish installing mcrypt for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-mcrypt.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the mcrypt module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the mcrypt module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-mcrypt/5.3.29: 3 files, 44.8K
==> Installing php53-memcache from homebrew/php
==> Downloading https://homebrew.bintray.com/bottles-php/php53-memcache-2.2.7.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring php53-memcache-2.2.7.el_capitan.bottle.1.tar.gz
==> Caveats
To finish installing memcache for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-memcache.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the memcache module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the memcache module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-memcache/2.2.7: 3 files, 54.1K
==> Installing php53-memcached from homebrew/php
==> Installing dependencies for homebrew/php/php53-memcached: php53-igbinary, memcached, libmemcached
==> Installing homebrew/php/php53-memcached dependency: php53-igbinary
==> Downloading https://homebrew.bintray.com/bottles-php/php53-igbinary-1.2.1.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring php53-igbinary-1.2.1.el_capitan.bottle.1.tar.gz
==> Caveats
To finish installing igbinary for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-igbinary.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the igbinary module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the igbinary module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-igbinary/1.2.1: 6 files, 50.7K
==> Installing homebrew/php/php53-memcached dependency: memcached
==> Downloading https://homebrew.bintray.com/bottles/memcached-1.4.24.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring memcached-1.4.24.el_capitan.bottle.tar.gz
==> Caveats
To have launchd start memcached now and restart at login:
brew services start memcached
Or, if you don't want/need a background service you can just run:
/usr/local/opt/memcached/bin/memcached
==> Summary
🍺 /usr/local/Cellar/memcached/1.4.24: 10 files, 162.0K
==> Installing homebrew/php/php53-memcached dependency: libmemcached
==> Downloading https://homebrew.bintray.com/bottles/libmemcached-1.0.18_1.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libmemcached-1.0.18_1.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/libmemcached/1.0.18_1: 230 files, 1.8M
==> Installing homebrew/php/php53-memcached
==> Downloading https://homebrew.bintray.com/bottles-php/php53-memcached-2.2.0.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring php53-memcached-2.2.0.el_capitan.bottle.1.tar.gz
==> Caveats
To finish installing memcached for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-memcached.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the memcached module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the memcached module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-memcached/2.2.0: 5 files, 105.6K
==> Installing php53-mongo from homebrew/php
==> Downloading https://homebrew.bintray.com/bottles-php/php53-mongo-1.6.14.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring php53-mongo-1.6.14.el_capitan.bottle.tar.gz
==> Caveats
To finish installing mongo for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-mongo.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the mongo module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the mongo module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-mongo/1.6.14: 2 files, 346.5K
==> Installing php53-opcache from homebrew/php
==> Downloading https://homebrew.bintray.com/bottles-php/php53-opcache-7.0.5.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring php53-opcache-7.0.5.el_capitan.bottle.1.tar.gz
==> Caveats
To finish installing opcache for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-opcache.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the opcache module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the opcache module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-opcache/7.0.5: 4 files, 121.8K
==> Installing php53-phalcon from homebrew/php
==> Downloading https://homebrew.bintray.com/bottles-php/php53-phalcon-2.0.9.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring php53-phalcon-2.0.9.el_capitan.bottle.tar.gz
==> Caveats
To finish installing phalcon for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-phalcon.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the phalcon module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the phalcon module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-phalcon/2.0.9: 2 files, 3.4M
==> Installing php53-redis from homebrew/php
==> Installing dependencies for homebrew/php/php53-redis: igbinary
==> Installing homebrew/php/php53-redis dependency: igbinary
==> Downloading https://homebrew.bintray.com/bottles-php/igbinary-1.2.1.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring igbinary-1.2.1.el_capitan.bottle.1.tar.gz
🍺 /usr/local/Cellar/igbinary/1.2.1: 9 files, 19.6K
==> Installing homebrew/php/php53-redis
==> Downloading https://github.com/phpredis/phpredis/archive/2.2.7.tar.gz
==> Downloading from https://codeload.github.com/phpredis/phpredis/tar.gz/2.2.7
######################################################################## 100.0%
==> /usr/local/opt/php53/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-redis/2.2.7_1 --with-php-config=/usr/local/opt/php53/bin/php-config --enable-redis-igbinary
==> make
==> Caveats
To finish installing redis for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-redis.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the redis module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the redis module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-redis/2.2.7_1: 4 files, 319.6K, built in 23 seconds
==> Installing php53-sphinx from homebrew/php
==> Installing dependencies for homebrew/php/php53-sphinx: libsphinxclient
==> Installing homebrew/php/php53-sphinx dependency: libsphinxclient
==> Downloading https://homebrew.bintray.com/bottles-php/libsphinxclient-2.2.10.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libsphinxclient-2.2.10.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/libsphinxclient/2.2.10: 4 files, 65.7K
==> Installing homebrew/php/php53-sphinx
==> Downloading https://pecl.php.net/get/sphinx-1.3.2.tgz
######################################################################## 100.0%
==> /usr/local/opt/php53/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-sphinx/1.3.2 --with-php-config=/usr/local/opt/php53/bin/php-config
==> make
==> Caveats
To finish installing sphinx for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-sphinx.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the sphinx module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the sphinx module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-sphinx/1.3.2: 2 files, 76.8K, built in 13 seconds
==> Installing php53-swoole from homebrew/php
==> Downloading https://homebrew.bintray.com/bottles-php/php53-swoole-1.8.1.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring php53-swoole-1.8.1.el_capitan.bottle.tar.gz
==> Caveats
To finish installing swoole for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-swoole.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the swoole module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the swoole module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-swoole/1.8.1: 2 files, 349.2K
==> Installing php53-uuid from homebrew/php
==> Downloading https://homebrew.bintray.com/bottles-php/php53-uuid-1.0.3.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring php53-uuid-1.0.3.el_capitan.bottle.tar.gz
==> Caveats
To finish installing uuid for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-uuid.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the uuid module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the uuid module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-uuid/1.0.3: 2 files, 15.2K
==> Installing php53-xdebug from homebrew/php
==> Downloading http://xdebug.org/files/xdebug-2.2.7.tgz
==> Downloading from https://xdebug.org/files/xdebug-2.2.7.tgz
######################################################################## 100.0%
==> /usr/local/opt/php53/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-xdebug/2.2.7 --with-php-config=/usr/local/opt/php53/bin/php-config --enable-xdebug
==> make
==> Caveats
To finish installing xdebug for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-xdebug.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the xdebug module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run `php -i "(command-line 'phpinfo()')"`
* - Look for the info on the xdebug module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-xdebug/2.2.7: 2 files, 167.0K, built in 29 seconds
bash-3.2#
  回复  更多评论
  

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理