yusihuo 发表于 2022-8-8 14:46:04

php7.4升级问题

checking whether to enable multibyte string support... yes
checking whether to enable multibyte regex support (requires oniguruma)... yes
checking for oniguruma... no
configure: error: Package requirements (oniguruma) were not met:

No package 'oniguruma' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ONIG_CFLAGS
and ONIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found.Stop.
make: *** No targets specified and no makefile found.Stop.
make: *** No rule to make target `install'.Stop.
Copy new php configure file...
Modify php.ini......
include/php.sh: line 190: pear: command not found
include/php.sh: line 191: pecl: command not found
Downloading Composer...
--2022-08-08 22:35:23--https://mirrors.aliyun.com/composer/composer.phar
Resolving mirrors.aliyun.com (mirrors.aliyun.com)... failed: Name or service not known.
wget: unable to resolve host address ‘mirrors.aliyun.com’
Composer install failed, try to from composer official website...
include/php.sh: line 204: php: command not found
curl: (6) Could not resolve host: getcomposer.org; Unknown error
Install ZendGuardLoader for PHP 7...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: cannot stat ‘/home/wwwroot/lnmp1.9-full/src/php-7.4.30/sapi/fpm/init.d.php-fpm’: No such file or directory
chmod: cannot access ‘/etc/init.d/php-fpm’: No such file or directory
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            https://lnmp.org             |
+-------------------------------------------+
Starting LNMP...
Starting nginx...done
/usr/bin/lnmp: line 30: /etc/init.d/php-fpm: No such file or directory

licess 发表于 2022-8-9 17:13:15

信息有限,按当前信息只能确定oniguruma-devel或oniguruma-dev包没有安装
页: [1]
查看完整版本: php7.4升级问题