Title: PHP Code Displayed when running the blog
Last modified: August 19, 2016

---

# PHP Code Displayed when running the blog

 *  [shinch](https://wordpress.org/support/users/shinch/)
 * (@shinch)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/php-code-displayed-when-running-the-blog/)
 * Hi,
 * I have the WP files loaded on a NAS (Network Attached Storage)drive which is 
   accessed from two servers (load balancing).
 * The page loads from one server, but no from the 2nd server.
 * Any ideas???
 * The 2nd server displays just the code, instead of loading the page:
 * <?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](https://wordpress.org/support/users/package/) WordPress */
 * /**
    * Tells WordPress to load the WordPress theme and output it. * * [@var](https://wordpress.org/support/users/var/)
   bool */ define(‘WP_USE_THEMES’, true);
 * /** Loads the WordPress Environment and Template */
    require(‘./wp-blog-header.
   php’); ?>
 * Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/php-code-displayed-when-running-the-blog/#post-1121123)
 * Sounds like a server config issue.
 *  [GLJones](https://wordpress.org/support/users/gljones/)
 * (@gljones)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/php-code-displayed-when-running-the-blog/#post-1121125)
 * Make sure PHP is installed and enabled on your server.
 *  Thread Starter [shinch](https://wordpress.org/support/users/shinch/)
 * (@shinch)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/php-code-displayed-when-running-the-blog/#post-1121311)
 * PHP is installed and enabled on both servers. Actually, there’s another WordPress
   site that’s currently running on both servers. So, can’t figure out why this 
   one is not running on both servers?
 * Are there any specific logs on the servers that I could look at?
 * Any suggestions is appreciated.
 * Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Code Displayed when running the blog’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [shinch](https://wordpress.org/support/users/shinch/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/php-code-displayed-when-running-the-blog/#post-1121311)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
