Home > php教程 > php手册 > linux下安装php的svn扩展

linux下安装php的svn扩展

WBOY
Release: 2016-06-06 19:44:12
Original
1563 people have browsed it

首先,下载svn,默认下载路径是当前操作的目录下: wget http://pecl.php.net/get/svn-1.0.2.tgz 解压svn: tar -zxf svn-1.0.1.tgz 进入到svn目录下: cd svn-1.0.1 然后,依次运行命令: /usr/local/php5.5/bin/phpize ./configure--with-php-config=/usr/

首先,下载svn,默认下载路径是当前操作的目录下:

wget http://pecl.php.net/get/svn-1.0.2.tgz

解压svn:

tar -zxf svn-1.0.1.tgz

进入到svn目录下:

cd svn-1.0.1


然后,依次运行命令:

/usr/local/php5.5/bin/phpize

./configure--with-php-config=/usr/local/php5.5/bin/php-config

make

makeinstall

注意:我用的是php5.5,所以目录中为php5.5


最后重启php:

/usr/local/php5.5/sbin/php-fpm restart

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template