Forums

Resolved
0 votes
When RedHat/Centos went to 7.6, the repos for PHP 5.6 were dropped, but PHP 7.2 is now supported.

app-php-engines has now been updated so that if you install it or update it, you also get PHP 7.2. ClearOS 7.6 users can install it now or it will update overnight.

Dave is working on a couple of outstanding issues, but they are not holding back the release:
1 - If you have PHP 5.6 installed, the PHP Engines app should show it available and allow you to start/stop it but it does not
2 - In the Web Server app, in the PHP Engine field, it lists PHP 5.6 in the dropdown whether you have it installed or not.

Please note that PHP 5.6 is no longer supported and has not had any updates for years so must be considered as vulnerable/insecure. If you have any apps still using 5.6, you really need to be looking at updating them.

Please post to this thread if you have any issues with the updated app.
Wednesday, April 24 2019, 05:55 PM
Share this post:
Responses (4)
  • Accepted Answer

    Thursday, April 25 2019, 04:13 PM - #Permalink
    Resolved
    0 votes
    PHP Engines was a contribution from community members and it is pretty awesome compared to what we used to have. That being said, it has a scalability issue in its design, obviously. Nick's workaround should work well. We will be working on these over the next few days but the app itself needs a bit of a rewrite.

    Currently the app requires the php versions. It should be more liberal and run even if no engines are installed. The engines themselves should be app-ified and placed in the marketplace. They should require php-engines but not the other way around. That way we can poll from the marketplace which ones are available for install and can poll from the installed list. This way it is open ended and the app shouldn't care what is installed or not installed from a dependency standpoint.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 25 2019, 12:29 PM - #Permalink
    Resolved
    0 votes
    Thanks for the reply, Nick. It says no packages marked for update when trying your suggestion. I noticed I had disabled clearos-contribs, so after re-enabling it, your suggestion worked. Restarted Webconfig service and PHP7.2 is showing up under Server->Web->PHP Engines. I'm currently using 7.1 and am hesitant to enable 7.2 and incorporate it into my website. I'll walk gingerly into it.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 24 2019, 08:06 PM - #Permalink
    Resolved
    0 votes
    Have you just been on the intercom chat?

    We were in a catch 22. The app, as it was, was broken for everyone on 7.6. This has been fixed but has broken it for everyone on 7.5. Perhaps there should have been some additional logic somewhere, but it really needed a different repo set up. I have mentioned it to the devs to see what they want to do. If they release 7.6 tonight for Home/Business, the problem will go away.

    What you can probably do is:
    yum update app-php-engines --enablerepo=centos-sclo-rh-unverified
    so you get php7.2. This will allow updates to flow again until 7.6 is released.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 24 2019, 07:39 PM - #Permalink
    Resolved
    0 votes
    So a yum update (with clearos-contribs repository enabled) wants to install app-php-engines and app-php-engines-core, but returns a lot of errors when looking for multiple dependency packages called rh-php72-php*. I'm still using ClearOS 7.5.0 (Final) Business Edition, and my understanding was PHP72 was to go along with 7.6.0. Right now it's holding up any future updates because of the errors, so what repo(s) to I need to enable or disable to successfully install PHP72 or disable its installation?

    Update: I disabled the clearos-contribs repo and was able to install normal updates minus the php stuff. Still, if I wanted to implement PHP2 for ClearOS 7.5, is that feasible or even advantageous?
    The reply is currently minimized Show
Your Reply