CentOS下为PHP安装Tidy扩展
时间:2014-12-03 09:03 来源:linux.it.net.cn 作者:IT
环境:
CentOS 6.5x64
PHP-5.4.26
# yum -y install libtidy-devel
# cd /usr/local/src/phpxxx/ext/imap
# /usr/local/php5/bin/phpize
#./configure --with-php-config=/usr/local/php5/bin/php-config
............................................................
Installing shared extensions: /usr/local/php5/lib/php/extensions/no-debug-zts-20090626/
# vi /etc/php.d/tidy.ini
extension=" /usr/local/php5/lib/php/extensions/no-debug-zts-20090626/tidy.so"
(责任编辑:IT)
环境: CentOS 6.5x64 PHP-5.4.26
# yum -y install libtidy-devel
# cd /usr/local/src/phpxxx/ext/imap
# /usr/local/php5/bin/phpize
#./configure --with-php-config=/usr/local/php5/bin/php-config
............................................................
Installing shared extensions: /usr/local/php5/lib/php/extensions/no-debug-zts-20090626/
# vi /etc/php.d/tidy.ini
extension=" /usr/local/php5/lib/php/extensions/no-debug-zts-20090626/tidy.so"
(责任编辑:IT) |