LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Wordpress Website fails after 16.04 LTS Upgrade (https://www.linuxquestions.org/questions/ubuntu-63/wordpress-website-fails-after-16-04-lts-upgrade-4175578312/)

NFI 04-25-2016 05:40 PM

Wordpress Website fails after 16.04 LTS Upgrade
 
Hi, I had a wordpress website working perfectly well on my home server using Ubuntu 14.04 Server LTS. Since upgrading to Server 16.04 LTS I no longer get my site, but instead the following message:


php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/

/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );


Any ideas what I need to do to fix this please?

Wells 04-26-2016 11:16 AM

Looks like you need to install php on the system. Not 100% certain on which ones for Ubuntu, but for my debian system I have the following installed:

libapache2-mod-php5 install
php5 install
php5-cli install
php5-common install
php5-json install
php5-mysql install
php5-readline install

NFI 04-26-2016 07:00 PM

Bingo! Thanks very much Wells. Though why the upgrade uninstalled php in the first place escapes me.


All times are GMT -5. The time now is 10:41 AM.