Skip to content
Deutrino edited this page Jan 5, 2023 · 6 revisions

This is a project to make a LAMP stack with the latest reasonable 8.x Sury version of PHP installed out of the box, and Apache defaulting to use that version assuming others are installed (e.g. native Debian PHP for elements of the Turnkey Linux interface). By "latest reasonable" I mean it shouldn't be so new that Wordpress blows up on it.

Status

Currently not ready for anyone to use. Initial development is taking place at https://github.com/deutrino/turnkey-lamp8/tree/lamp8

Questions

  • should this be PHP 8.2 or 8.1?

Issues

  • Apache still defaulting to 7.4 in phpinfo()
  • webmin for php.ini only sees 7.4
  • connection reset errors in webmin
  • apt pinning to selectively prefer package versions from Sury is likely to be brittle, e.g. currently if versions of packages like libpcre2-8-0 are needed and are too old from stable it would break because only libpcre2-8-0 is pinned and not libpcre2-16-0 etc etc etc. see /etc/apt/preferences.d/php8.pref
Clone this wiki locally