环境名称 | 版本 |
---|---|
centos | 7.6 |
php | 7.3.19 |
编译参数如下:
./configure --prefix={{install_dir}} --with-config-file-path={{install_dir}}/etc --with-config-file-scan-dir={{install_dir}}/conf.d --enable-fpm --with-fpm-user=www --with-fpm-group=www --with-fpm-systemd --enable-mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-iconv-dir --with-freetype-dir ...
--with-fpm-systemd
,系统中缺少 systemd-devel 库"configure: error: Your system does not support systemd."
yum install -y systemd-devel
configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works
yum install -y icu libicu libicu-devel