cleey
望着那一丝海线,若隐若现。落日下的海霞,数不尽的美,看不完的醉
安装php svn扩展

1.Download the SVN PECL package:

wget pecl.php.net/get/svn-1.0.3.tgz

2.Extract the package:

tar xzf svn-1.0.3.tgz

3.Run phpize for appropriate PHP version:

/opt/cpanel/ea-php56/root/usr/bin/phpize

4.Configure with appropriate PHP configuration:

./configure --with-php-config=/opt/cpanel/ea-php56/root/usr/bin/php-config

5.Edit the Makefile to add following CFLAGS:

CFLAGS = -g -O2 -std=c99

6.Compile and install extension:

make
make install

7.Create configuration for SVN extension:

vi /opt/cpanel/ea-php56/root/etc/php.d/svn.ini

8.and add the following:

; Enable svn extension module
extension=svn.so


参考:https://www.tomica.net/blog/2017/05/install-svn-php-module-from-pecl-on-easyapache-4

<< 上一篇 蓝绿部署 Blue Green Deployment go get,git fatal: HTTP request failed 下一篇 >>
文章标签
随意 | Created At 2014 By William Clinton | 蜀ICP备14002619号-4 |