[1.8]php8.0和现有apache配置文件不兼容
oracle云,mysql 5.7+php8.0.1+apache2.4安装过程知道最后才出错
Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xe" for details.
具体查看出错内容是
httpd: Syntax error on line 444 of /usr/local/apache/conf/httpd.conf: Cannot load modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot open shared object fil第444行的内容是
LoadModule php5_module modules/libphp5.so
然后我稍微搜索了下,从php8.0开始编译出的apache模块不再带有大版本号,统一命名为libphp.so,猜测应该是这个原因导致的
https://bugs.php.net/bug.php?id=78681
https://github.com/php/php-src/commit/6e3600f41b95d97d11ef48f817e6389a4ee95091
收到,稍后我就进行调整 另外就是现在imagick也是不支持8的,编译会报错,master有可能已经支持
页:
[1]