Skip to content

Commit c5ade90

Browse files
authored
Merge pull request #681 from midoks/dev
php mysql_xdevapi 在debian下载安装优化
2 parents 149fe72 + 8e6784b commit c5ade90

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

scripts/install/debian.sh

+8
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,14 @@ apt install -y xsltproc
234234
apt install -y libcurl4-openssl-dev
235235
apt install -y curl libcurl4-gnutls-dev
236236

237+
# https://www.php.net/manual/zh/mysql-xdevapi.installation.php
238+
apt install -y libprotobuf-dev
239+
apt install -y protobuf-compiler
240+
apt install -y libboost-dev
241+
apt install -y liblz4-tool
242+
apt install -y zstd
243+
244+
237245
# Disabled due to dependency issues
238246
#apt install --ignore-missing -y autoconf automake cmake curl dia gcc imagemagick libbz2-dev libcurl4-gnutls-dev\
239247
# libcurl4-openssl-dev libevent-dev libffi-dev libfreetype6 libfreetype6-dev libgmp-dev libgmp3-dev libicu-dev \

scripts/install/ubuntu.sh

+7
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ apt install -y libaio1t64
4848

4949
apt install -y dnsutils
5050

51+
# https://www.php.net/manual/zh/mysql-xdevapi.installation.php
52+
apt install -y libprotobuf-dev
53+
apt install -y protobuf-compiler
54+
apt install -y libboost-dev
55+
apt install -y liblz4-tool
56+
apt install -y zstd
57+
5158
P_VER=`python3 -V | awk '{print $2}'`
5259
if version_ge "$P_VER" "3.11.0" ;then
5360
echo -e "\e[1;31mapt install python3.12-venv\e[0m"

0 commit comments

Comments
 (0)