Title: error with compat.php
Last modified: August 19, 2016

---

# error with compat.php

 *  [rsbenedict](https://wordpress.org/support/users/rsbenedict/)
 * (@rsbenedict)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/error-with-compatphp/)
 * Hi, All!
 * I was migrating my site from an old webhost to a new one and I get the following
   error:
 * Warning: require(/home/rsbened/domains/profeb.com/public_html/wp-includes/compat.
   php) [function.require]: failed to open stream: Permission denied in /home/rsbened/
   domains/profeb.com/public_html/wp-settings.php on line 207
 * Fatal error: require() [function.require]: Failed opening required ‘/home/rsbened/
   domains/profeb.com/public_html/wp-includes/compat.php’ (include_path=’.:/usr/
   local/lib/php’) in /home/rsbened/domains/profeb.com/public_html/wp-settings.php
   on line 207
 * I’ve changed the permissions on the compat.php file, I’ve reuploaded wp 2.7, 
   I’ve deleted and reuploaded the wp-includes folder. I don’t know what else to
   do to get this error to go away. I’ve googled the error and tried all suggestions,
   but still no use. Help???
 * Thanks!

The topic ‘error with compat.php’ is closed to new replies.

## Tags

 * [compat.php](https://wordpress.org/support/topic-tag/compat-php/)
 * [wp 2.7](https://wordpress.org/support/topic-tag/wp-2-7/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [rsbenedict](https://wordpress.org/support/users/rsbenedict/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/error-with-compatphp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
