He visto un lindo gatito…

Bueno en realidad resolvi un chinche problema que me estaba causando el subir fotos… resulta que yo bien quitado de la pena me copie un esqueleto de configuracion que por ahi incluia open_base_dir y lo use nomas por que en los ejemplos venia… error…

open_basedir string

Limit the files that can be opened by PHP to the specified directory-tree, including the file itself. This directive is NOT affected by whether Safe Mode is turned On or Off.

When a script tries to open a file with, for example, fopen() or gzopen(), the location of the file is checked. When the file is outside the specified directory-tree, PHP will refuse to open it. All symbolic links are resolved, so it’s not possible to avoid this restriction with a symlink.

The special value . indicates that the working directory of the script will be used as the base-directory. This is, however, a little dangerous as the working directory of the script can easily be changed with chdir().

In httpd.conf, open_basedir can be turned off (e.g. for some virtual hosts) the same way as any other configuration directive with «php_admin_value open_basedir none».

Under Windows, separate the directories with a semicolon. On all other systems, separate the directories with a colon. As an Apache module, open_basedir paths from parent directories are now automatically inherited.

**The restriction specified with open_basedir is actually a prefix, not a directory name. This means that «open_basedir = /dir/incl» also allows access to «/dir/include» and «/dir/incls» if they exist. When you want to restrict access to only the specified directory, end with a slash. For example: «open_basedir = /dir/incl/»**

Note: Support for multiple directories was added in 3.0.7.

The default is to allow all files to be opened.

Fuente: http://www.php.net/features.safe-mode

Asi que quitando la linea funciona!!!!

Esta entrada fue publicada en Sin categoría. Guarda el enlace permanente.

Una respuesta en “He visto un lindo gatito…

  1. Wolken dijo:

    No lo halle por ningun lado. Solo encontre un costal de pulgas de color negro con ojos amarillos. Muy chillon el costal por cierto.. sera que no me gusto el tehucanazo que le aplique?

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.