Is anyone rolling with PHP 8 in production? If so, what distribution? Ubuntu LTS (even more recent) is not shipping with it, neither is Debian, or any RHEL 8 compatible distros. Are you rolling with the ondrej PPA or compiling everything yourself?

I've rebuilt a app over the past few months and trying to decide which policy to break to actually put it in prod. I built it needing PHP 8, but either I compile my own PHP packages, utilize a PPA, or...god forbid, run Arch as a production server platform.

Weighing my options, any feedback would be awesome.

Even Fedora looks like it requires adding a third party repo.

Just to add context, I'm sure many are okay adding a PPA, even a trusted one. However, some environments definitely are more strict about where packages should come from, for better or worse, right or wrong, your opinion vs others. In our environment, it's a big enough deal to add an entirely non-default repository which "expands the circle of trust" for our platform. So most ideal scenario is a distribution I can get "trusted" internally would be able to run my PHP 8 app out of the box.

    Ubuntu has always lagged a bit, I think, and the LTS versions lag even a bit more. Debian (upon which Ubuntu is based) is notorious for this. I've used PPAs, but have always felt a bit weird about doing so. I like to keep my machines clean and tend to tolerate the slightly older versions of software and. It's one thing to trust the official repo of Debian/Ubuntu or PHP. It's a little different to trust some person named Ondrej. If you are concerned about the safety of a Personal Package Archive (PPA), I suggest you investigate the maintainer. Ondrej may be a fine, upstanding person doing everyone a great service, but they could also be a gambler, down on their luck, with a drug problem, vulnerable to kompromat, who is taking money from a shadowy industrial espionage organization to help perpetrate a supply chain attack.

    On the few occasions where I've had to install a version newer than that offered by official repos, I usually download an installer from the project's website, as I did with Blender recently for my workstation, or I compile from source in the case of PHP. NOTE that I have compiled from source only very, very rarely.

    The last two PPAs I used with Ubuntu were graphics-drivers for fixing a problem with a new video card and yannubuntu to obtain boot-repair to fix my machine when it failed to reboot.

      9 days later
      a month later
      a month later

      It can be, but who knows what we see in future, as we can't expect anything like that.

        Write a Reply...