From 362c12156196ce2ca21009825abeb5a87915205f Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 27 Jun 2022 08:59:05 +0800 Subject: [PATCH] =?UTF-8?q?debian11,=E6=B2=A1=E6=9C=89=E7=94=9F=E6=88=90ph?= =?UTF-8?q?p54=20man?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/php/versions/54/install.sh | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/plugins/php/versions/54/install.sh b/plugins/php/versions/54/install.sh index ffb9b5aec..ebd1b85fb 100755 --- a/plugins/php/versions/54/install.sh +++ b/plugins/php/versions/54/install.sh @@ -68,7 +68,27 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then --disable-fileinfo \ $OPTIONS \ --enable-fpm - make clean && make && make install && make clean + + make clean && make + + #debian11,没有生成php54 man + if [ ! -f sapi/cli/php.1 ];then + cp -rf sapi/cli/php.1.in sapi/cli/php.1 + fi + + if [ ! -f sapi/cgi/php-cgi.1 ];then + cp -rf sapi/cgi/php-cgi.1.in sapi/cgi/php-cgi.1 + fi + + if [ ! -f scripts/man1/phpize.1 ];then + cp -rf scripts/man1/phpize.1.in scripts/man1/phpize.1 + fi + + if [ ! -f scripts/man1/php-config.1 ];then + cp -rf scripts/man1/php-config.1.in scripts/man1/php-config.1 + fi + + make install && make clean fi #------------------------ install end ------------------------------------#