Skip to content

Commit 6add476

Browse files
committed
Bump
1 parent aa59b61 commit 6add476

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/docs/REQUIREMENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ MadelineProto requires the `mbstring`, `xml`, `json`, `fileinfo`, `gmp`, `openss
1010

1111
The `ffi` and `uv` extensions and the [PrimeModule](https://prime.madelineproto.xyz/) and `nghttp2` libraries are also highly recommended to improve performance.
1212

13-
**PHP 8.3+ is required, 8.3 is recommended**.
13+
**PHP 8.3+ is required, 8.4 is recommended**.
1414

1515
MadelineProto explicitly supports Linux and UNIX systems (including Mac OS).
1616
I **don't recommend using Windows**: MadelineProto generally works on Windows, though there might be some random issues caused by AV engines, so I personally recommend using Linux.
@@ -36,7 +36,7 @@ sudo apt-get update
3636
sudo apt-get install software-properties-common -y
3737
sudo LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php
3838
sudo apt-get update
39-
sudo apt-get install php8.3 php8.3-dev php8.3-xml php8.3-zip php8.3-gmp php8.3-cli php8.3-mbstring php8.3-ffi php8.3-iconv php-pear libuv1-dev nghttp2 -y
39+
sudo apt-get install php8.4 php8.4-dev php8.4-xml php8.4-zip php8.4-gmp php8.4-cli php8.4-mbstring php8.4-ffi php8.4-iconv php-pear libuv1-dev nghttp2 -y
4040
sudo pecl install uv-beta
4141
echo extension=uv.so | sudo tee $(php --ini | sed '/additional .ini/!d;s/.*: //g')/uv.ini
4242
echo ffi.enable=1 | sudo tee $(php --ini | sed '/additional .ini/!d;s/.*: //g')/ffi.ini
@@ -58,4 +58,4 @@ cd PrimeModule-ext && make -j$(nproc) && sudo make install
5858

5959
The `max_map_count` sysctl configuration is required to avoid "Fiber stack allocate failed" and "Fiber stack protect failed" errors, since the PHP engine mmaps two memory regions per fiber, and the `soft/hard nofile` limits increase the maximum open FD limit, to allow opening many TCP sockets for improved upload and download performance, and to avoid errors.
6060

61-
<a href="https://docs.madelineproto.xyz/docs/DOCKER.html">Next section</a>
61+
<a href="https://docs.madelineproto.xyz/docs/DOCKER.html">Next section</a>

0 commit comments

Comments
 (0)