Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 876269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:24:26+00:00 2026-05-15T11:24:26+00:00

How can I apply code changes to my running website, if I have bug

  • 0

How can I apply code changes to my running website, if I have bug fixes or updates?
The simplest way I can think of is to set up the same site in a different directory for testing the changes, and then put my website offline for a period of time to update the files.

Is there a better way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T11:24:26+00:00Added an answer on May 15, 2026 at 11:24 am

    Creating a copy of the live site is certainly a good step, applying changes to the copy before applying the same to the live site.

    A common production environment would include a further set of steps.

    1. Run a local development copy
      Have a copy of your website running on your development machine. This requires that you development machine is running a web server, database server and, if necessary, a mail server.

      For PHP/Apache/MySQL environments, take a look at http://www.apachefriends.org/en/xampp.html.

      You can safely develop, break, test and change a your local development environment

    2. Source control
      Use Subversion, Mercurial or Git to keep your code under source control. Ensure your local development environment is kept under source control. Ensure your live environments are under source control. Develop locally, test changes and commit the changes back.

    3. Staging and live environments
      Maintain more than one ‘live’ copy – the actual live public site and as close a replica as possible. Ensure both are under version control.

      Once locally-tested changes have been tested, update your staging environment (usin your source control system) and test again. Once your staging site is stable, you can use your source control system to update your live site.

      There will not generally be much of a need to take the real live site offline to apply updates, but be sure that you can safely do so if needed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 537k
  • Answers 537k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I don't know who told you to use variable_get() and… May 17, 2026 at 1:48 am
  • Editorial Team
    Editorial Team added an answer You can use arrays. When you cycle through the result… May 17, 2026 at 1:48 am
  • Editorial Team
    Editorial Team added an answer In this case, the buttons variable creates a reference to… May 17, 2026 at 1:48 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

This is a bit of a vague notion which I have been running over
I have a question about why some SQL (running on SQL Server 2005) is
How can I apply XSLT on following XML so string between ~ and $
I have the following piece of code <a onclick=$('#result').load('codes/test.html');$('#result').show(); >XHTML code</a> it loads perfectly
I have two problems with the below code that I need help fixing: 1)
I have this project I'm working on. The following conditions apply In this project
In our current database development evironment we have automated build procceses check all the
I understand that is not possible to have applications with multiple entry points under
I have a BufferedImage that I get that has an IndexColorModel. I then wish
I've been trying to change the font under the Future 1, you can see

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.