Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

5.5. xmlrpc

单独编译php扩展模块

		
[root@websrv]# cd /usr/local/php-5.3.0/ext/xmlrpc
[root@websrv]# /usr/local/php-5.3.0/bin/phpize
[root@websrv]# ./configure --with-php-config=/usr/local/php-5.3.0/bin/php-config
[root@websrv]# make
[root@websrv]# make test
[root@websrv]# make install
Installing shared extensions: /usr/local/php-5.3.0/lib/php/extensions/no-debug-zts-20060613/
[root@websrv]# mv /usr/local/php-5.3.0/lib/php/extensions/no-debug-zts-20060613/* /usr/local/php-5.3.0/lib/php/extensions/
		
		

修改配置在php.ini里,配置扩展目录 并添加扩展模块引用:

		
extension_dir = "/usr/local/php-5.3.0/lib/php/extensions/"
extension = xmlrpc.so
		
		
comments powered by Disqus