Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating many sites at one time 1

Status
Not open for further replies.

frost71

IS-IT--Management
Oct 5, 2005
5
CA
Hi all,

We have created a web program that is being used by 100's of different customers. Each customer has the program running on their own web space (on our server) with a copy of all files.

I am wondering if there is a better way to do it so that when I have to make an update to a php file I don't have to do it 100's of times but rather can update once and all the different sites will recieve the update.

Any thoughts?
 
Thanks sleipnir214...

How does one make a single 'codebase' so that I can put all future clients on that system so i'll only have to make 101 updates sort of thing and slowly transfer over the other clients? Also, does this work if each client has their own database that interacts with the php files?

thanks for your help.
 
How to turn your code into a single codebase, versus 100+ installations of the scripts? I don't know -- you wrote it.

But typically, one might put the guts of the script code into an includable library in a single directory somewhere. Then php.ini would be configured so that the include path includes that directory. Then each client's directory would consist of a unique configuration file for your scripts an perhaps some single script to do all the inclusions.

Then, when you make changes, all you need to is change the library, and all your clients get the updates simultaneously.

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top