下面内容小编就为大家带来一篇浅谈php7.4.1 No package 'libpcre2-8' found,php-fpm7.4.1 libpcre2-8 >= 10.30。小编觉得挺不错的,现在就分享给大家,如果你在找linux php7.4.1,centos php7.4.1,php7.4.1,也可以做个借鉴。一起跟随小编过来看看吧。
php7.4.1 No package 'libpcre2-8' found,php-fpm7.4.1 libpcre2-8 >= 10.30
作者:小程序爱好者 发布时间:2020-01-20
in CentOS,
install php7.4.1,
some error like:
Package requirements (libpcre2-8 >= 10.30) were not met
No package 'libpcre2-8' 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 PCRE2_CFLAGS
and PCRE2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
what shoud i do
wget https://ftp.pcre.org/pub/pcre/pcre2-10.34.tar.bz2
tar xjvf pcre2-10.34.tar.bz2
./configure --prefix=/usr/local/pcre2 \
--enable-pcre2-16 \
--enable-pcre2-32 \
--enable-jit \
--enable-jit-sealloc
make && make install
export PKG_CONFIG_PATH=/usr/local/pcre2/lib/pkgconfig/
click here see more
声明:部分文章或图片未能及时与原作者取得联系,若来源标注错误或侵犯到您的权益烦请告知QQ:2334512685,我们会及时删除。
发布:秦子恒博客,欢迎转载分享,请保留出处。
php7.4.1 No package 'libpcre2-8' found,php-fpm7.4.1 libpcre2-8 >= 10.30链接:https://www.qinziheng.com/details/8892/
php7.4.1 No package 'libpcre2-8' found,php-fpm7.4.1 libpcre2-8 >= 10.30相关文章