<?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 DIR . ‘/wp-blog-header.php’;
ubuntu 解压WordPress压缩包后进入网页访问报错
sudo apt-get install php libapache2-mod-php php-mysql
sudo service apache2 restart