Mobile app version of vmapp.org
Login or Join
Kevin317

: How to professionally update your server configuration I've installed several websites on my Ubuntu server and I need now to add an extension and some modules to my php configuration file. Since

@Kevin317

Posted in: #Server #Ubuntu #WebHosting

I've installed several websites on my Ubuntu server and I need now to add an extension and some modules to my php configuration file.

Since I have some e-commerce websites I was wondering if I should put all these websites offline before to proceed with it, and if this is the usual procedure.

Let's say, any guideline for a professional procedure is welcome.

thanks

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Kevin317

1 Comments

Sorted by latest first Latest Oldest Best

 

@Goswami781

Whilst this probably would be better suited to Server Fault, I guess it's good practice for webmasters. Here's a webmasters take on your question...

A few points:


Give advance notice. It's common courtesy and especially important on an e-commerce site. (Imagine spending hours filling a cart, only to have it all lost when some mug decides to restart apache.)
If possible, do a dry run first. Try out your planned changes on a local version of your server. This will save you from being offline for longer than necessary and will mean that any problems can be fixed in a low-stress setting.
Make backups! cp php.ini php.ini.bak only takes a few seconds and can save your ass if you botch things. No matter how trivial the modification, make a backup. And don't delete/overwrite it until everything's been thoroughly tested. (I personally keep stable versions indefinitely.)
Identify if there's a quiet time across all your sites. If all your e-commerce sites are targeted at users from one country, there'll probably be a quiet period in the early hours of the morning. Updating your server configuration will usually involve some downtime, even if it's just a few seconds, so time your update to annoy as few people as possible.


Hope this helps.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme