【待反馈】fileinfo 扩展安装不上
Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfileNo package cmake3 available.Error: Nothing to doConfiguring for:PHP Api Version: 20210902Zend Module Api No: 20210902Zend Extension Api No: 420210902checking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for a sed that does not truncate output... /bin/sedchecking for pkg-config... /bin/pkg-configchecking pkg-config is at least version 0.9.0... yeschecking whether the C compiler works... noconfigure: error: in `/www/server/php/81/src/ext/fileinfo':configure: error: C compiler cannot create executablesSee `config.log' for more detailssed: can't read Makefile: No such file or directorysed: can't read Makefile: No such file or directorymake: *** No targets specified and no makefile found. Stop.error|-Successify --- 命令已执行! --- 您好,关于php的扩展fileinfo的问题需要执行以下命令来解决sudo yum install devtoolset-7-gcc devtoolset-7-gcc-c++
关于php的问题是因为brotli库的问题
sudo yum install epel-release
sudo yum install brotli-devel
页:
[1]