简体   繁体   中英

Installing PHP on a server where HTTPD was installed by source

There is one server where Apache HTTPD was installed by source, so, there is no Yum/RPM register of installed Apache HTTPD.

When trying to install PHP 5.x packages using yum, it gives errors saying the dependent package "httpd" was not found.

What's the correct approach to install PHP and the remaining PHP RPM children packages (as example php-pecl-jsonc RPM), since yum is not allowing it to be installed?

问题已解决,安装 PHP RPM 文件忽略来自 HTTPD 的依赖项,然后将 mod_php 文件 (mod_php.so) 从原始源目录移动到源安装的 HTTPD 中的相应模块目录。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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