简体   繁体   English

无法在 apache2 httpd 服务器上配置 php。 找不到 php 模块 where.so 文件所在的位置

[英]Unable to configure php on apache2 httpd server. Unable to find php modules where .so file is located

Unable to configure php on apache2 httpd server.无法在 apache2 httpd 服务器上配置 php。 Unable to find php modules where.so file is located.找不到 php 模块 where.so 文件所在的位置。

I am using rhel7:apache2 image and then installing php and php-common packages.我正在使用 rhel7:apache2 图像,然后安装 php 和 php-common 包。

have you tried你有没有尝试过

rpm -ql php rpm -ql php

it has /usr/lib64/httpd/modules/libphp5.so它有 /usr/lib64/httpd/modules/libphp5.so

Yes I tried... It worked.. i found it on some different directory.是的,我试过了……它起作用了……我在一些不同的目录上找到了它。 Not sure what was the issue.. on recreating pod it worked fine..不确定是什么问题..在重新创建 pod 时效果很好..

Thanks谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM