Installing Elgg

Hi. 
Installing elgg I got :

Your data directory /var/www/clients/client0/web2/data/ is not 
writable.

what to do??? 
my php is:

Copyright (c) 1997-2008 The PHP Group 
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

And :

total 20 
drwxr-x--x  2 web2 client0 4096 2010-12-12 03:01 cgi-bin 
drwxrwxrwx  2 web2 client0 4096 2010-12-12 03:43 data 
lrwxrwxrwx  1 web2 client0   35 2010-12-12 03:01 log -> /var/log/ 
ispconfig/httpd/example.com 
drwxr-x--x  2 web2 client0 4096 2010-12-12 03:01 ssl 
drwxrwxrwx  2 web2 client0 4096 2010-12-12 03:01 tmp 
drwx--x--- 21 web2 client0 4096 2010-12-12 03:42 web

I would appreciated help 

  • Your php is probably locked down so that it cannot read outside of the web directory. Talk to the support staff of your server about that.

  • Hi,

    write a short PHP script with this line and rename it path.php
    Copy and paste it into your data folder and your data folder with path.php call in the browser, then you see the right path.

    <? Php echo $ _SERVER ['DOCUMENT_ROOT'];?>

    Greeting Michael

  • Your data folder shouldn't be accessible from the web.  It needs to be outside your document root.  pinguinto's data folder is in the correct place, but PHP isn't allow to write to it.