by wrength » Wed Jan 18, 2023 4:51 pm
Depends on how you are running PHP. If you're using PHP-FPM, you should probably install the new php-legacy-fpm package and use it instead of php-fpm. Its config is stored under /etc/php-legacy, as all php-legacy stuff seems to be, so you might have to copy the needed configuration from under /etc/php to there. You can run both php-fpm and php-legacy-fpm at the same time if you need to, but obviously you can't use the same port or .sock file for both services at the same time, so check that those don't overlap in the config (see the listen setting in the files in the php-fpm.d directory).
If you're using mod_php with Apache, you'll need php-legacy-apache instead. It's been a long time since I've used mod_php, so I can't comment much on specifics, but you'll probably want to grep all files under /etc/httpd for any mentions of php and edit as needed.