First turn on web sharing.
Configuration
httpd.conf Add PHP extension/etc/apache2/httpd.conf
If ulimit_max_files= "ulimit-s-n ' ulimit-h-n '" error appears
Need to remove
/usr/sbin/apachectl inside Ulimit-s-n ' ulimit-h-n
Restart Apache
Brew Install memcached installation memcache
After installation memcache path/usr/local/bin/memcached
Add "-D" to start it as a daemon.
/usr/local/bin/memcached-d boot cannot be started with root account
Download Memcache
Http://pecl.php.net/package/memcache
Execute./configure make sudo make install
Edit php INI chmod-r 755/etc/php.ini
Modify extension Path/usr/lib/php/extensions/no-debug-non-zts-20090626/
New Plus extension=memcache.so
See if Phpinfo expands memcache
http://www.bkjia.com/PHPjc/323499.html www.bkjia.com true http://www.bkjia.com/PHPjc/323499.html techarticle first turn on web sharing. Configuration httpd.conf add PHP extension/etc/apache2/httpd.conf such as ulimit_max_files= "Ulimit-s-n ' ulimit-h-n '" error needs to be removed/USR/SBIN/APACHEC TL in ...