1
0
mirror of https://github.com/danog/php-libtgvoip.git synced 2024-11-30 04:19:26 +01:00

Update README.md

This commit is contained in:
Daniil Gentili 2017-08-16 15:49:31 +02:00 committed by GitHub
parent 23f0082552
commit 4ead259ad7

View File

@ -7,6 +7,10 @@ This is a PHP extension that wraps the [telegram VoIP library](https://github.co
Installation: Installation:
Install the libopus headers (libopus-dev), binutils (binutils-dev), openssl headers and the php-cpp headers. Install the libopus headers (libopus-dev), binutils (binutils-dev), openssl headers and the php-cpp headers.
Then clone this repository recursively and run `make && sudo make install`
On Ubuntu/debian/any debian-based distro:
``` ```
sudo apt-get install libopus-dev binutils-dev libssl-dev sudo apt-get install libopus-dev binutils-dev libssl-dev
@ -14,8 +18,13 @@ git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP
cd PHP-CPP cd PHP-CPP
make -j$(nproc) make -j$(nproc)
sudo make install sudo make install
cd ..
git clone --recursive https://github.com/danog/php-libtgvoip
cd php-libtgvoip
make -j$(nproc)
sudo make install
``` ```
Then clone this repository recursively (`git clone --recursive https://github.com/danog/php-libtgvoip`) and run `make && sudo make install`