WordPress.org

Ready to get started?Download WordPress

Forums

WordPress pages showing source code (2 posts)

  1. divstudio
    Member
    Posted 2 years ago #

    Hello

    Here's my problem : WordPress pages are showing source code !

    Live wordpress site is running here : http://www.eliseandthecats.com
    I wanted to install a test version for v2 so i created a new folder in the root directory and uploaded my local wordpress setup to this directory :
    http://www.eliseandthecats.com/2012/
    Then populated a new database called v2 with my local MAMP tables.

    Here's my htaccess :

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /var/www/vhosts/eliseandthecats.com/httpdocs/2012/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /var/www/vhosts/eliseandthecats.com/httpdocs/2012/index.php [L]
    </IfModule>
    AddHandler x-mapp-php5 .php
    # END WordPress

    config.php :

    define('WP_HOME','http://www.eliseandthecats.com/2012');
    define('WP_SITEURL','http://www.eliseandthecats.com/2012');

    Database setup OK

    Any ideas ?
    thx !

  2. Rohan
    Member
    Posted 2 years ago #

    I think ur server is using 5.1.6 version of php. WP 3.3.1 requires php 5.2.4

Topic Closed

This topic has been closed to new replies.

About this Topic