Skip to main content

Rebuild customized rpm with cpanel/whm, but rpmbuild requires http-devel

Comments

5 comments

  • cPanelMichael
    And yum search ea-apache24-devel also returns no found.

    Hello, That's the correct package name, and I confirmed the following command works well:
    yum install ea-apache24-devel
    However, keep in mind this is only available with EasyApache 4. Since the system is using CentOS 5, then it's likely EasyApache 3 is installed. The better solution here would be to migrate the server away from CentOS 5. Is there anything in-particular that's preventing you from migrating to a newer OS? Thank you.
    0
  • sheepcross
    Hello, That's the correct package name, and I confirmed the following command works well:
    yum install ea-apache24-devel
    However, keep in mind this is only available with EasyApache 4. Since the system is using CentOS 5, then it's likely EasyApache 3 is installed. The better solution here would be to migrate the server away from CentOS 5. Is there anything in-particular that's preventing you from migrating to a newer OS? Thank you.

    Hi Michael, Thanks for the reply. Yes it's easyapache3. And the situation here is we need to run a quick update to CentOS 5 servers to expire retired ciphers. Migrating will take longer time than the deadline provided by our online bank. I'm new to those servers, and I want to make minimum modification, so I installed another customized curl with updated openssl. Now I just need to hook php with it. The plan is to phpize a new curl.so <= which need php-devel. What if I just install http-devel, rebuild this php-devel-5.3.27 rpm, then uninstall httpd-devel? Does this break anything for easyapache3? Regards, Chris
    0
  • cPanelMichael
    I'm new to those servers, and I want to make minimum modification, so I installed another customized curl with updated openssl. Now I just need to hook php with it. The plan is to phpize a new curl.so <= which need php-devel.

    Try using the workaround instructions referenced on this post and let us know if that helps: Update cPanel to TLS 1.2 without modifying system files [php5 + curlssl + apache2.4.x] Thanks!
    0
  • sheepcross
    Try using the workaround instructions referenced on this post and let us know if that helps: Update cPanel to TLS 1.2 without modifying system files [php5 + curlssl + apache2.4.x] Thanks!

    Thanks Michael, I solved the issue by rebuild php-devel on other server and just used the rpm. Regards, Chris
    0
  • cPanelMichael
    Hi Chris, I'm happy to see you were able to address the issue. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.