Coder Social home page Coder Social logo

Comments (2)

raider700 avatar raider700 commented on June 29, 2024

The php56u package is looking for "httpd-mmn = 20051115" but httpd24u provides "httpd-mmn = 20120211" what is needed in centos7 or rhel7.

The centos6 default php package is also not usable with this httpd24u.

Is it possible to get the package for centos6 with the needed dependency?

from httpd24u.

carlwgeorge avatar carlwgeorge commented on June 29, 2024

Howdy @raider700,

TLDR: Use php56u-fpm, not php56u.

This is the expected behavior. The PHP language is actually in the php56u-common package. The php56u package is mod_php, an httpd module that serves as a PHP SAPI (server API). Yes, the naming stinks, but it's something we inherited from Fedora/RHEL. As you noticed, this means that mod_php (php56u) compiles against the MMN (magic module number) of httpd. This means that if you build mod_php against httpd 2.2, it can only install with httpd 2.2. When we created httpd24u, we decided to continue building our mod_php packages against stock httpd. Building mod_php for every combination of PHP and httpd was far more complexity than we were willing to maintain. Additionally, there was no way to trigger automatic updates for users to switch from php5u/httpd to php5u/httpd24u.

In order to use httpd24u with PHP 5.6, you must use php56u-fpm. The FPM SAPI does not compile against a specific webserver, so you can use it with httpd, nginx, lighttpd, and more. On a related not, the original reason we got the request for httpd 2.4 was to have better support for FPM.

One final note, to address the mod_php naming confusion in our PHP 7.0 packages, we chose to move the mod_php files into a subpackage named mod_php70u. This means that you would explicitly choose php70u-fpm or mod_php70u. mod_php70u still provides php70u, so yum install php70u still works.

from httpd24u.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.