Home | Mirror | Search

5. Extension 扩展安装

5.1. APC

			
pecl install apc
			
			
			
cat > /srv/php-5.4.8/etc/conf.d/apc.ini <<EOF
extension=apc.so
EOF
			
			

5.2. Xdebug

			
pecl install xdebug
			
			
			
cat > /srv/php-5.4.8/etc/conf.d/xdebug.ini <<EOF
[Zend Modules]
zend_extension=/srv/php-5.4.8/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so
[Xdebug]
xdebug.profiler_enable = on
xdebug.trace_output_dir = "/tmp/xdebug"
xdebug.profiler_output_dir = "/tmp/xdebug"
EOF
			
			
comments powered by Disqus