Require fork of dns
This commit is contained in:
parent
d06f79a184
commit
319f29dbb5
|
@ -44,6 +44,7 @@ composer.json:
|
|||
"type": "project",
|
||||
"require": {
|
||||
"danog/madelineproto": "dev-master",
|
||||
"amphp/dns": "dev-master#aa1892bd as 0.9"
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
|
@ -101,6 +102,7 @@ Then you can require the package by addding the following lines to the require s
|
|||
|
||||
```
|
||||
"danog/madelineproto":"dev-master",
|
||||
"amphp/dns": "dev-master#aa1892bd as 0.9"
|
||||
```
|
||||
|
||||
<a href="https://docs.madelineproto.xyz/docs/UPDATES.html">Next section</a>
|
|
@ -1,11 +1,11 @@
|
|||
---
|
||||
title: Requirements
|
||||
description: MadelineProto requires the `mbstring`, `xml`, `gmp` extensions to function properly.
|
||||
description: MadelineProto requires the `mbstring`, `xml`, `json`, `fileinfo`, `gmp` extensions to function properly.
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Requirements
|
||||
|
||||
MadelineProto requires the `mbstring`, `xml`, `gmp` extensions to function properly.
|
||||
MadelineProto requires the `mbstring`, `xml`, `json`, `fileinfo`, `gmp` extensions to function properly.
|
||||
|
||||
To install MadelineProto dependencies on `Ubuntu`, `Debian`, `Devuan`, or any other `Debian-based` distro, run the following command in your command line:
|
||||
|
||||
|
@ -13,7 +13,7 @@ To install MadelineProto dependencies on `Ubuntu`, `Debian`, `Devuan`, or any ot
|
|||
sudo apt-get install python-software-properties software-properties-common
|
||||
sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
|
||||
sudo apt-get update
|
||||
sudo apt-get install php7.3 php7.3-dev php7.3-fpm php7.3-xml php7.3-zip php7.3-gmp php7.3-cli php7.3-mbstring git -y
|
||||
sudo apt-get install php7.3 php7.3-dev php7.3-fpm php7.3-xml php7.3-zip php7.3-gmp php7.3-cli php7.3-mbstring php7.3-json git -y
|
||||
```
|
||||
|
||||
Next, follow the instructions on [voip.madelineproto.xyz](https://voip.madelineproto.xyz) and [prime.madelineproto.xyz](https://prime.madelineproto.xyz) to install libtgvoip and PrimeModule.
|
||||
|
|
|
@ -193,7 +193,7 @@ $CombinedMadelineProto->loop(function () use ($CombinedMadelineProto) {
|
|||
}
|
||||
yield $CombinedMadelineProto->all($res);
|
||||
yield $CombinedMadelineProto->setEventHandler('\EventHandler');
|
||||
}
|
||||
});
|
||||
$CombinedMadelineProto->loop();
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue