• 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 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(‘./wp-blog-header.php’);
    ?>

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sounds like a server config issue.

    Make sure PHP is installed and enabled on your server.

    Thread Starter shinch

    (@shinch)

    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.