Title: error &#8211; open_basedir restriction in effect
Last modified: August 19, 2016

---

# error – open_basedir restriction in effect

 *  [AnnieO](https://wordpress.org/support/users/annieo/)
 * (@annieo)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/error-open_basedir-restriction-in-effect/)
 * WordPress 2.7 with TinyMCE Advanced plugin 3.1 gave this error on server with
   php 5.1.6 4 error messages all similar to this when editing a page.
 * Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/
   en.js) is not within the allowed path(s): (httpdocs/wp-admin/includes/post.php
   on line 1188
 * My hack fixes this, although I do not know if it would work on any server. On
   line 1185 of post.php I changed
 * if ( function_exists(‘realpath’) )
 * to
 * if ( file_exists(‘realpath’) )
 * so far, so good

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/error-open_basedir-restriction-in-effect/#post-920803)
 * [http://www.php.net/manual/en/features.safe-mode.php#ini.open-basedir](http://www.php.net/manual/en/features.safe-mode.php#ini.open-basedir)
 * basically, you have a paranoid host
 *  Thread Starter [AnnieO](https://wordpress.org/support/users/annieo/)
 * (@annieo)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/error-open_basedir-restriction-in-effect/#post-920876)
 * I asked my host if he was paranoid about open_basedir.
    His response >>>
 * “In short — Absolutely!
 * So far, I’ve had “bad guys” compromising osCommerce, WordPress, phBB, *nuke, 
   formmail and even custom code, and launching UDP floods against 3-rd party websites,
   send out SPAM, and deface customer websites.
 * All of these where excruciatingly painful to find and stop.”
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/error-open_basedir-restriction-in-effect/#post-920878)
 * hmmm – my host does not seem to have any problems allowing this feature and maintaining
   security
    to each his own :>)

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

The topic ‘error – open_basedir restriction in effect’ is closed to new replies.

 * In: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
 * 3 replies
 * 2 participants
 * Last reply from: [Samuel B](https://wordpress.org/support/users/samboll/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/error-open_basedir-restriction-in-effect/#post-920878)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
