This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » var directory

var directory

var directory

Monday 10 December 2012 10:48:03 am - 2 replies

Hi everyone, 

I have just intall a new ezpublish for my website and i want to change the name of the var directory

I have change the names manually but i have an error (access denied!)

Can anybody help me please .

Thanks a lot

Monday 10 December 2012 12:04:34 pm


You have to chage the directory in your site.ini.append.php file (siteaccess or override) :


Tuesday 11 December 2012 12:07:22 pm

Note that if you just change the vardir setting in your ini file, you will loose all existing binary content - unless of course you also rename the existing directory in disk.

Also, take care about images in content: iirc their on-disk-path is stored in the db, so after changing the vardir you will also have to fix that


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from