I installed Wordpress, php7.0 and apache2. I also installed the php7.0 module for apache and it is enabled.
I can create a php file (named phpinfo.php) with content <?php phpinfo(); ?>
, and can see the correct output when I open http://localhost/phpinfo.php
.
My problem is when I try to open http://localhost/blog/wp-admin/install.php
, it says:
**ERROR: PHP is not running**
and shows the whole installation page without the interpreted php.
Does somebody know what the cause of that is, or even better, how I can fix it?
sudo apt install wordpress
should require these modules as dependencies. But you can try to install them as it is described under the section Pre-Requirements from this answer. – pa4080 Sep 08 '17 at 14:31