问题描述
5.6、7.3 和 8.0
全部以 FPM 运行。为了让 MSsql
扩展正常工作,所有版本都停止运行。建议是从 custombuild 重建。
7.3 重新构建没有问题,并且(尽管 mssql
模块仍然不存在)现在可以工作了。但是 5.6 和 8.0 返回以下内容:
[root@.. custombuild]# ./build PHP_expert 8.0 PHP-fpm
./build: line 13188: ldconfig: command not found
Found /usr/local/directadmin/custombuild/PHP-8.0.1.tar.gz
Extracting ...
Done.
Configuring PHP-8.0.1...
Patching PHP-fpm to not fail on startup if User quota maxed out on socket chown
patching file sapi/fpm/fpm/fpm_unix.c
Hunk #1 succeeded at 242 (offset 7 lines).
Done Configuration.
Can't open Makefile: No such file or directory.
Trying to make PHP...
make: *** No targets specified and no makefile found. Stop.
[root@.. custombuild]#
** 更新 **
因此,将 sbin 添加到路径中现在消除了错误 abuilt ldconfig command not found 但其他一切仍然相同。
[root@... custombuild]# export PATH=$PATH:/usr/sbin
[root@... custombuild]# ./build PHP_expert 8.0 PHP-fpm
Found /usr/local/directadmin/custombuild/PHP-8.0.1.tar.gz
Extracting ...
Done.
Configuring PHP-8.0.1...
Patching PHP-fpm to not fail on startup if User quota maxed out on socket chown
patching file sapi/fpm/fpm/fpm_unix.c
Hunk #1 succeeded at 242 (offset 7 lines).
Done Configuration.
Can't open Makefile: No such file or directory.
Trying to make PHP...
make: *** No targets specified and no makefile found. Stop.
[root@... custombuild]#
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)