PHP 操作SVN

分类:技术文档 - SVN | 阅读(1805) | 发布于:2015-07-09 14:45

PHP 操作SVN
1.SVN 及php-svn模块的安装:
	yum install subversion subversion-devel
	wget http://pecl.php.net/get/svn-1.0.2.tgz
	tar zxvf svn-1.0.2.tgz 
	cd svn-1.0.2
	phpize
	./configure --with-php-config=/usr/local/php/bin/php-config 
	make 
	make install 
	ll /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/
	vi /usr/local/php/etc/php.ini (添加 svn.so 模块)
	service php-fpm restart
	php -m

标签:svnphp