Title: Warning: main(../wp-includes/compat.php) [function.main]: failed to open stream
Last modified: August 19, 2016

---

# Warning: main(../wp-includes/compat.php) [function.main]: failed to open stream

 *  Resolved [tydende](https://wordpress.org/support/users/tydende/)
 * (@tydende)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/warning-mainwp-includescompatphp-functionmain-failed-to-open-stream/)
 * getting this statement on the install page. not sure wht it means. any help?
 * thanks
 * Warning: main(../wp-includes/compat.php) [function.main]: failed to open stream:
   No such file or directory in c:\websites\iamelephant\htdocs\install.php on line
   4
 * Fatal error: main() [function.require]: Failed opening required ‘../wp-includes/
   compat.php’ (include_path=’.;C:\php5\pear’) in c:\websites\iamelephant\htdocs\
   install.php on line 4
    PHP Warning: main(../wp-includes/compat.php) [function.
   main]: failed to open stream: No such file or directory in c:\websites\iamelephant\
   htdocs\install.php on line 4 PHP Fatal error: main() [function.require]: Failed
   opening required ‘../wp-includes/compat.php’ (include_path=’.;C:\php5\pear’) 
   in c:\websites\iamelephant\htdocs\install.php on line 4

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

 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/warning-mainwp-includescompatphp-functionmain-failed-to-open-stream/#post-703912)
 * You are missing a file compat.php.
 * Are you installing this locally or on a server?
 *  Thread Starter [tydende](https://wordpress.org/support/users/tydende/)
 * (@tydende)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/warning-mainwp-includescompatphp-functionmain-failed-to-open-stream/#post-703925)
 * uploading the files with ftp.
 * i see the compat.php file there.
 * also, out of curiosity, i downlaoded 2.3.3 and there are no wp folders (content,
   includes, admin). so i should point the install straight to install.php, right?
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/warning-mainwp-includescompatphp-functionmain-failed-to-open-stream/#post-703927)
 * _also, out of curiosity, i downlaoded 2.3.3 and there are no wp folders (content,
   includes, admin). so i should point the install straight to install.php, right?_
 * your not unpacking things properly if thats the case, and that speaks to your
   problem.
 * The error says this:
 * _**wp-includes**/compat.php_
 *  Thread Starter [tydende](https://wordpress.org/support/users/tydende/)
 * (@tydende)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/warning-mainwp-includescompatphp-functionmain-failed-to-open-stream/#post-703928)
 * got it. was indeed missing some files. thanks for the help.

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

The topic ‘Warning: main(../wp-includes/compat.php) [function.main]: failed to open
stream’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 4 replies
 * 3 participants
 * Last reply from: [tydende](https://wordpress.org/support/users/tydende/)
 * Last activity: [18 years, 3 months ago](https://wordpress.org/support/topic/warning-mainwp-includescompatphp-functionmain-failed-to-open-stream/#post-703928)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
