I've a server with ubuntu 14. Previously I had apache2, PHP 5 and MySQL installed and it was working pretty well, but I had to install PHP7+PThreads extension, so I unninstalled the previous version (PHP 5). For what I see, PHP is installed and running in the system, I typed php -v
and I get this:
PHP 7.0.3 (cli) (built: Mar 1 2016 22:13:21) ( ZTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
Now, when I go to MyIPAddress/MyPage
Apache shows me the PHP code of the page, is like PHP is not related with apache2. I even made service apache2 restart
For other side, I went to /etc/apache2/mods-enabled
and there's nothing related with PHP, neither in mods-available
so what should I check? Or where am I wrong?
I'm not very good at linux shell. Thanks!