欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

mac下使用brew配置環(huán)境的步驟分享

 更新時(shí)間:2011年05月23日 21:21:05   作者:  
mac下使用brew配置環(huán)境的步驟分享,需要的朋友可以參考下。
首先 開啟web共享。

配置

httpd.conf 加入php拓展 /etc/apache2/httpd.conf

如出現(xiàn) ULIMIT_MAX_FILES="ulimit -S -n `ulimit -H -n`" 錯(cuò)誤

需要去掉

/usr/sbin/apachectl 里面的 ulimit -S -n `ulimit -H -n

重啟apache

brew install memcached 安裝 memcache

安裝后 memcache 路徑 /usr/local/bin/memcached

Add "-d" to start it as a daemon.

/usr/local/bin/memcached -d 啟動(dòng) 不能使用 root賬戶啟動(dòng)

下載 memcache

http://pecl.php.net/package/memcache

執(zhí)行 ./configure make sudo make install

編輯 php ini chmod -R 755 /etc/php.ini

修改拓展路徑 /usr/lib/php/extensions/no-debug-non-zts-20090626/

新加 extension=memcache.so

查看 phpinfo 是否 拓展 memcache

相關(guān)文章

最新評(píng)論