Announcement

Collapse
No announcement yet.

EasyApache 4

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    I think all of this (at least as far as CloudLinux + cPanel integration) will eventually move to EasyApache4. Now whether CloudLinux chooses to maintain their own PHP branches or utilize cPanels PHP branches that remains to be seen. EasyApache3 will eventually die and EasyApache4 will be the new standard, and in my opinion the sooner this happens the better (although admittedly Im not in a position to migrate all of our servers over to this at this time).

    The issue with backported PHP versions is another issue entirely. But this discussion on backported PHP versions also underscores the difficulties in managing and maintaining them. Thats really why this cant go on forever. Eventually whoever is backporting older PHP versions is going to stop doing it. Might be tomorrow, it might be 10 years from now. But when the PHP developers release PHP 8, PHP 9, PHP 10 and so on, and CloudLinux or cPanel is still having to backport fixes for PHP 4, PHP 5, PHP 7 and so and so on, its going to become too much of a headache for them to keep this up.

    Ironically, were talking about a shift in the development process for EasyApache3 to EasyApache4. cPanel is not going to maintain EasyApache3 forever. They are not going to spend time and effort making sure Apache and PHP for EA3 remains up to date like in EA4. Eventually a cPanel release is going to happen that drops support for EasyApache 3 altogether. When that happens and if people refuse to upgrade to EA4, then theyll have to work with and end-of-life version of cPanel and never ever upgrade. This is software life-cycle. It just has to happen. Why doesnt cPanel support version 11.48 any more? Or cPanel 11.46? They dont have the personnel to maintain those versions forever.

    For users that are running custom scripts that only work with PHP 4 or < PHP 5.5, then they should be able to made changes to those scripts to make them up to date. If you are developing in PHP, then you have to stay in contact with PHPs development and their upcoming changes. If youre not doing that, then you dont need to be developing in PHP. If someone else wrote the custom scripts for you, then thats why you need to keep those developers on a retainer, so they can update it as PHP changes come about.

    If you are not comfortable working with PHP and wish to develop a script that has a longer life-cycle then you probably need to use some other programming language, like Perl, which tends to have a longer life-cycle.

    I really wish PHPs life-cycle was longer and more in-line with Perl. But PHP is still a relatively young language, so its in a state of constant development. The life-cycles of PHP versions really isnt a secret. But if you wish for PHPs life-cycles to be longer, then you need to discuss this with the PHP developers. Dont like PHP constantly changing the way functions work or become deprecated? Let them know. Dont like having to upgrade Joomla! because Joomla! 2.5 is end-of-life? Let Joomla! know that you want a longer life-cycle.

    But also understand that if you want extended software life-cycles, you are going to sacrifice new features. Me personally, Id rather have longer life-cycles and more stable and mature code than to have new features all the time. People tend to want new features and longer life-cycles and thats just really not possible.

    Comment


    • #32
      Dave, we are not declining older PHP versions. Personally I am sure our PHP-Selector will work for a next few years. Only after cPanels multiple PHP will works flawlessly with our hardened PHP we could stop implementing PHP-Selector itself. But you will get same working PHP old versions as hardened PHP , functionality will nto change.

      More about HardenedPHP at https://www.cloudlinux.com/hardenedphp to show we are taking it seriously and officially.

      Our EA4 support is on early beta stage, everything will be improved after some time.

      Comment


      • #33
        Over a year since I first asked about EasyApache 4, and we still only seem to have got as far as a beta (please do correct me if I have missed some announcement about a stable release ! )

        With todays announcement from cPanel regarding the demise of EasyApache 3 , I really think the CloudLinux / cPanel users deserve some update on what exactly is happening, what we can expect, and most importantly ..... when?

        Is the honeymoon between CloudLinux and cPanel over ? - Should we be preparing ourselves for a divorce ? I am feeling like I am living in a mushroom factory - you know - being kept in the dark and being fed s*** every day :evil:

        Comment


        • #34
          The demise of EasyApache3 has been coming for some time now.

          As for cPanels schedule, cPanel 58 hasnt yet hit Release. But I would suspect that when cPanel 58 hits Release there will at least be some major movement regarding CloudLinux and EasyApache4. As cPanel 58 moves towards Stable, the integration in CloudLinux and EasyApache4 will become much more standard.

          Like you, as far as I know, the integration of CloudLinux and EasyApache4 is still in beta. But, in my opinion, CloudLinux tends to keep things in beta much longer than needed (mod_lsapi just recently got moved out of the beta repositories a couple of months ago).

          All of this tends to not bother me as much as some. Ive just recently started upgrading some of our servers to cPanel 56. Most servers are still on cPanel 54. I tend to prefer stability over new features, and cPanel tends to roll out new versions without a lot of quality assurance. I like to let other people test out new cPanel versions, find the bugs, get them fixed, so I dont have to update cPanel servers everyday to a new patched version.

          But I am looking forward to streamlining Apache and PHP with EA4. But I would like to see something from CloudLinux regarding how best to integrate EA4 into CloudLinux.

          Comment


          • #35
            There is a huge amount being done to make EA4 work perfectly with CL by both, CL & cPanel team. We could have taken an easy approach, and just make it work same as on CentOS. No ... couldn have, as we always strive for something better.

            We made it so that PHPSelector would work with cPanel MultiPHP controls
            We are working on making sure that all hardened PHP versions are available from MultiPHP
            We have created fully automated environment for building EA4 binaries (with our LVE changes), and subject them to same test suite as cPanels EA4
            We made mod_lsapi first class citizen under EA4
            And so will be mod_passenger/ruby/python hosting

            The reason it is still in beta is that there are still few cosmetic issues that needs to be handled. They are pretty much all conversion-related. We have to make sure it always gracefully fail (when it converts, it converts), and rolls back to EA3 - and this is where most of the work is now.

            Comment


            • #36
              Igor, thank you so much for the update.

              You see, it only takes a few minutes to re-assure your faithful followers that all is well, and everything is on track

              As always, we are looking forward to the update to the CloudLinux spin of EA4 and the features you describe look fantastic. I am particularly relieved to see that the older hardened PHP versions are not being abandoned.

              Kindest regards to all the CloudLinux team.

              Comment


              • #37
                Marcin Kedzia wrote:

                > Lot of flexibility regarding PHP modules configuration (I do not see informations anywhere that MultiPHP will have this functionality) and easy PHP per directory implementation.

                I am unaware of PHP Selector having per-directory settings. In fact, it seems to be on a per-account basis (not even per-domain, which MultiPHP supports). I have checked the PHP Selector documentation and didn find any per-directory settings. Am I missing something?

                Comment


                • #38
                  Our PHP-Selector in cPanel interfaceis per account only. Suppose Marcin Kedzia meant multiPHP: https://confluence2.cpanel.net/displ...o+EasyApache+4

                  Comment


                  • #39
                    Yesterday, I tried my luck migrating to Easy Apache 4 on 1 server and it was a no go!
                    All websites using a Mysql (MAriaDB) database went offline stating the connexion to their database was broken.
                    I tried everything I know with cagefsctl to fix this but it didn help.
                    I don know if this is a known issue but I will wait a stable release to give it a try again.

                    Comment


                    • #40
                      Wi did not got any reports like that but definitely would like to investigate why this is happening. Please create support ticket at https://helpdesk.cloudlinux.com . Is the issue not resolved yet by you?

                      Comment


                      • #41
                        I reverted back to EA3 but will give a try again this night on the same server and, if necessary, will open a trouble ticket. Thank you.

                        Comment


                        • #42
                          Just to be sure, it this the current way to upgrade?
                          cPanel EasyApache 4

                          Comment


                          • #43
                            Yes, that is right documentation to upgrade to EA4.

                            Comment


                            • #44
                              Hello,
                              I tried again a migration. It went without problem. However, ever with the followed documented parameters I noticed that mod_lsapi was installed but not activated.

                              Code:
                              sh cloudlinux_ea3_to_ea4 --convert --mod_lsapi --altphp --mod_passenger
                              When I check the process list, I see that my scripts are executed under php-cgi handler and not lsphp!
                              I tried then to activate mod_lsapi as explained in the documentation:

                              Code:
                              /usr/bin/switch_mod_lsapi --setup
                              
                              /usr/bin/switch_mod_lsapi --enable-global
                              
                              service httpd restart
                              No errors are being reported but after this, all my websites loose their connections to their databases (MariaDB).

                              Comment


                              • #45
                                Unfortunately I have no ideas why this happened. Did you used PHP-Selector as usually? It should not be broken that way.
                                Or did you used any kind of php per directory manual integration?

                                Its better to create support ticket so we can react fast.

                                Comment

                                Working...
                                X