Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6159

PHP not running after Upgrade Ubuntu

$
0
0

I have upgraded my Ubuntu server to 22.04.1. Everything else is working fine but php simply does not run! I tried to visit my website and all I get is php source code.For example, mydomain.com/info.php shows me the code:

<?phpphpinfo();?>

I restarted all apache services - nothing changed!php -v on terminal shows this (everything OK):

PHP 8.1.2 (cli) (built: Jul 21 2022 12:10:37) (NTS)Copyright (c) The PHP GroupZend Engine v4.1.2, Copyright (c) Zend Technologieswith Zend OPcache v8.1.2, Copyright (c), by Zend Technologies

Any idea?


Viewing all articles
Browse latest Browse all 6159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>