4. Storage Setup: The directory you entered does not exist

RolandKS

Joined: 2006-10-18
Posts: 5
Posted: Thu, 2006-10-26 19:25

The directory you entered does not exist: /var/www/web4/myg2data/

Root-Server (Debian Sarge)

PHP.ini DOCUMENT_ROOT /var/www/web4/html
open_basedir /var/www/web4/html/:/var/www/web4/phptmp/:/var/www/web4/files/:/var/www/web4/atd/

@shell:
v@:/var/www/web4/myg2data# ls -l
total 1
-rw-r--r-- 1 root root 10 Oct 26 21:18 test.php

v@:/var/www/web4/myg2data# pwd
/var/www/web4/myg2data
v@:/var/www/web4/myg2data#

How should a php-Script have access above ROOT?

Thanks
Roland
(PS Please ENALBE Search for the Forum, google does not find the Forum here)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2006-10-26 20:04

you'll have to ask your webhost to change the open_basedir or you need to put your myg2data folder to /var/www/web4/files/myg2data

btw: google search works pretty well for this forum.

 
RolandKS

Joined: 2006-10-18
Posts: 5
Posted: Fri, 2006-10-27 02:20
Quote:
you'll have to ask your webhost to change the open_basedir or you need to put your myg2data folder to /var/www/web4/files/myg2data

Okay, i can change this self.

Preparing to install is misleading.
http://codex.gallery2.org/index.php/Gallery2:How_do_I_Install_Gallery2#Preparing_to_install

$ cd $HOME
$ mkdir g2data
$ chmod 777 g2data

open_basedir default never include this $HOME in any Distribution.

Please add: "Directory path must in open_basedir from your set in php.ini in FAQ.

Thanks
Roland

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2006-10-27 08:27

Hello,

DOCUMENT_ROOT is a term used in apache content. The root folder / is mostly, if not anytime, a different folder.

PS.: Translations for 'albern'

Jens
--
Last Gallery v1 Developer and v1 translation manager.