PDA

View Full Version : Best way of upgrading an active Oscommerce store?


netwarrior
2-17-08, 02:59 AM
Hi all,

I have an active online store which require frequent upgrading - including modification to the php files and MySQL database. I am using Oscommerce and all the program files and directories are reside directly under /htodoc.

Right now I am not able to perform any upgrading without causing distraction to the store. If I shutdown the store, I will not be able to test the new code.

I am looking for a best method to perform the upgrading and minimize the downtime. Currently I am considering the following options:

1. purchase additional webhosting package and configure as test site.
2. create a subdomain to point to the new directory for developing new code. Upon completion, replace the old file with new one.

If you have a better way, appreicate if you could share with me.

Thanks