Title: WordPress pages showing source code
Last modified: August 20, 2016

---

# WordPress pages showing source code

 *  [divstudio](https://wordpress.org/support/users/divstudio/)
 * (@divstudio)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/wordpress-pages-showing-source-code/)
 * Hello
 * Here’s my problem : WordPress pages are showing source code !
 * Live wordpress site is running here : [http://www.eliseandthecats.com](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/](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 !

Viewing 1 replies (of 1 total)

 *  [iamrohan](https://wordpress.org/support/users/rohan-k/)
 * (@rohan-k)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/wordpress-pages-showing-source-code/#post-2670864)
 * I think ur server is using 5.1.6 version of php. WP 3.3.1 requires php 5.2.4

Viewing 1 replies (of 1 total)

The topic ‘WordPress pages showing source code’ is closed to new replies.

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 1 reply
 * 2 participants
 * Last reply from: [iamrohan](https://wordpress.org/support/users/rohan-k/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/wordpress-pages-showing-source-code/#post-2670864)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
