apache2 - PHP Installation broken - shows strange php code as response - Ask Ubuntu
i wanted open simple index.php
contained
<?php phpinfo(); ?>
as result seeing following message in browser:
handle($request); $response->send(); $kernel->terminate($request, $response);
how can debug issue?
i seems message shown if local php installation broken. me seems have happend when upgraded ubuntu 14.04 ubuntu 16.04.
the following commands resolved issue:
sudo apt-get install --reinstall php sudo aptitude install libapache2-mod-php
Comments
Post a Comment