Title: White page with PHP code
Last modified: August 30, 2016

---

# White page with PHP code

 *  [robintrum](https://wordpress.org/support/users/robintrum/)
 * (@robintrum)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/white-page-with-php-code/)
 * Dear members,
 * I hosted a WordPress website at home but now decided to hoste it elsewhere. Unfortunately
   after literally copying it to a new host I don’t get it working. I only see PHP
   code printer without any errors.
 * Please take a look at this page so you can see for yourself: spotlikes.nl
 * What could this mean? Outdated PHP code? Outdated WordPress? Missing modules 
   on the server?
 * Hopefully someone can help.
 * Kind regards,
    Robin

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/white-page-with-php-code/#post-6437738)
 * Did you move everything properly following this guide?
 * [https://codex.wordpress.org/Moving_WordPress#Changing_Your_Domain_Name_and_URLs](https://codex.wordpress.org/Moving_WordPress#Changing_Your_Domain_Name_and_URLs)
 * If not, and if you still have access to the locally hosted site, I recommend 
   trying again following the above guide.
 *  Thread Starter [robintrum](https://wordpress.org/support/users/robintrum/)
 * (@robintrum)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/white-page-with-php-code/#post-6437768)
 * Unfortunately I have setup everything in the right way. It’s not my first transfer,
   but this time I get a bugged website. Very strange and I cannot find the cause
   of it..
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/white-page-with-php-code/#post-6437774)
 * Ok, if you did the transfer properly, and all you see is PHP code output in the
   browser, make sure that PHP is actually installed and running on the server.
 *  Thread Starter [robintrum](https://wordpress.org/support/users/robintrum/)
 * (@robintrum)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/white-page-with-php-code/#post-6437775)
 * Hi James,
 * This is also the case. I am able to run standalone PHP-scripts without any problems.
   Only the WordPress install outputs PHP-code strangely. It is really weird because
   I never had this problem before. Looks like it has to do something with the host.
 * I just downloaded a blank install of WordPress and ran it. Then I also get the
   PHP-code. Is it possible that the host did something to their standard WordPress
   install to avoid people from installing their own? I just can’t figure out the
   cause..
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/white-page-with-php-code/#post-6437777)
 * Yes, since you have the same problem with a fresh install on the same server,
   I definitely recommend contacting the hosting provider.

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

The topic ‘White page with PHP code’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/white-page-with-php-code/#post-6437777)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
