Home > Backend Development > PHP Tutorial > wordpress有关问题

wordpress有关问题

WBOY
Release: 2016-06-13 12:55:39
Original
2981 people have browsed it

wordpress问题
本地使用wamp搭建的wordpress 首页直接显示代码

<br />
<?php<br />
/**<br />
 * Front to the WordPress application. This file doesn't do anything, but loads<br />
 * wp-blog-header.php which does and tells WordPress to load the theme.<br />
 *<br />
 * @package WordPress<br />
 */<br />
<br />
/**<br />
 * Tells WordPress to load the WordPress theme and output it.<br />
 *<br />
 * @var bool<br />
 */<br />
define('WP_USE_THEMES', true);<br />
<br />
/** Loads the WordPress Environment and Template */<br />
require('./wp-blog-header.php');<br />
?>
Copy after login



------解决方案--------------------
环境好的吗? phpinfo() ;可以显示吗
------解决方案--------------------
apache没配置application/x-httpd-php
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template