Просмотр файла vkclone-0.0.1/docs/install-xdiff.md

Размер файла: 598B
This file describes how to install `libxdiff` os library and `xdiff` php module.

---
## libxdiff
I did not find available packages in ubuntu repositories, so I compile it.
If you hava `libxdiff` library in your OS, install it from repository.
```
cd /tmp
wget http://www.xmailserver.org/libxdiff-0.23.tar.gz
tar xvf libxdiff-0.23.tar.gz
cd libxdiff-0.23
./configure
make
checkinstall
```

## xdiff
Let's install xdiff from pecl.
```
pecl install xdiff-1.5.2
```

Enable module
```
echo extension=xdiff.so | tee /etc/php5/fpm/conf.d/xdiff.ini
```

Restart php5-fpm
```
service php5-fpm restart
```