use one set of files for multiple sites
Posted: Thu Jul 17, 2008 9:27 pm
Is it possible, or has anyone tried this. I have root access to my server. I have a lot of installs in a lot of different urls/accounts.
Updating all the sites is a real pain.
Quesiton 1
I was wondering if I could put the core files above the root of each domain on my server and then just change the settings in each config file to point to the directory above all the different accounts so they could all share the same files.
I would keep uploads, and tmp folders in each site, and a config.php file and the index.php file all int he individual accounts, but I wonder if it would work if i put the admin, lib, and other folders/files above root that way when updates are needed, i could just update one file instead of multiple instances in multiple accounts all over my server.
Question 2, if this wont work...
How do you guys update the files in all your installs when security updates come out.
Updating all the sites is a real pain.
Quesiton 1
I was wondering if I could put the core files above the root of each domain on my server and then just change the settings in each config file to point to the directory above all the different accounts so they could all share the same files.
I would keep uploads, and tmp folders in each site, and a config.php file and the index.php file all int he individual accounts, but I wonder if it would work if i put the admin, lib, and other folders/files above root that way when updates are needed, i could just update one file instead of multiple instances in multiple accounts all over my server.
Question 2, if this wont work...
How do you guys update the files in all your installs when security updates come out.