homebrew install php53
2014-03-25 00:00
162 查看
摘要: homebrew install php53
To enable PHP in Apache add the following to httpd.conf and restart Apache:
The php.ini file can be found in:
✩✩✩✩ PEAR ✩✩✩✩
If PEAR complains about permissions, 'fix' the default PEAR permissions and config:
✩✩✩✩ 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:
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:
Warning: Could not link php53. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link php53'
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
✩✩✩✩ PEAR ✩✩✩✩
If PEAR complains about permissions, 'fix' the default PEAR permissions and config:
chmod -R ug+w /usr/local/Cellar/php53/5.3.28/lib/php pear config-set php_ini /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 josegonzalez/php/php53)/bin:$PATH"
Warning: Could not link php53. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link php53'
相关文章推荐
- src.docker-phpfpm53
- php53 的mcrypt模块 , 需要用源代码进行安装
- 给Windows + Apache 2.2 + PHP 5.3 安装PHP性能测试工具 xhprof_0.10.3_php53_vc9.dll
- MIME_CONTENT_TYPE_PHP53
- 原站完整打包PHP+MYSQL,可做仿53客服在线客服系统,多用户多国语言企业版
- centos php5.3 yum 安装 php53-mcrypt
- [备忘] OSX 10.7.5安装MediaWiki中的php53-apc
- CentOS下使用SWIG为PHP53开发扩展
- php:curl 模拟ajax登陆53后台 -1(模拟登陆)
- 安装完PHP后启动httpd报错:httpd: Syntax error on line 53 ...
- CentOS-6 yum安装nginx php53 mysql55 搭建LNMP环境
- CI框架 Fatal error: Call to undefined method CI_DB::CI_DB() in D:\xinqing\web\CodeIgniter\database\drivers\odbc\odbc_driver.php on line 53
- 原站完整打包PHP+MYSQL,可做仿53客服在线客服系统,多用户多国语言企业版
- PHP如何防止SQL注入及开发安全 53
- 53. 文件上传篇——PHP CGI解析漏洞
- 53 PHP文件处理(六)文件上传--总结---细说php
- CentOS 5.6 - php53-common conflicts with php-common
- CentOS-6 yum安装nginx php53 mysql55 lnmp环境
- yum 安装php遇到php53-common conflicts with php-common
- laravel post TokenMismatchException in VerifyCsrfToken.php line 53 问题解决方法