Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3441

General Questions • [Solved] PHP Failure Post bullseye -> Bookworm Upgrade

$
0
0
Hi

I am having issues with my apache/php setup following upgrading from bullseye to bookworm. The php is just being displayed as opposed to being parsed by php 8.2

The php 8.2 module is enabled in apache

phpmyadmin is working correctly - which is installed as per the standard debian install as a separate site.

I have confirmed that the php version is 8.2, and have removed the 7.x packages using apt

The php files are using the <?php tag as opposed to just <?

I am at a loss as to what has gone wrong as it is clearly working for the phpmyadmin site, but not the php held in /var/www/html

Is there an extra step during the upgrade that I have missed? This system has been upgraded from V9 -> 10 -> 11 -> 12 over the years, but was working fully prior to the Bookworm upgrade, however there was usually some config changes I had to make with each update for php e.g. re-enabling <? instead of <?php etc - the scripts have now been updated to change to <?php as above anyway.

Thanks

James

Statistics: Posted by ha0124 — 2024-03-16 08:18 — Replies 2 — Views 51



Viewing all articles
Browse latest Browse all 3441

Trending Articles