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

  • SEARCH
  • Home
  • 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 8021141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:53:28+00:00 2026-06-04T21:53:28+00:00

as web designers we had a good year 2011 with more than 50 (different)

  • 0

as web designers we had a good year 2011 with more than 50 (different) cms & other php 5.2 driven applications. Some had customizations to core as well.
How does someone upgrade such amount of apps to php 5.3?

Do developers of php ever thought about that?
Much (popular) functions are just depreciated causing a lot of work to people like us.

I really don’t know how to best proceed

  • 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-06-04T21:53:30+00:00Added an answer on June 4, 2026 at 9:53 pm

    The short answer

    It depends.

    The strategy for migration would be influenced by the quality and content of the source itself, as well as the architecture and workflow. There is no “silver bullet” to make it work.

    Longer answer

    How it should be done

    You automatically upgrade all the staging sites, run all the unit tests and if they all pass – run the acceptance tests. Fix the issues that arise till you can pass all the tests. Then let your QA people make sure that everything is really 100% OK. This whole process would mostly run by your continuous integration system/framework.

    When all works on the staging environment, you take down each site for maintenance, deploy the updated code to the production environment, upgrade the server’s software, and bring the sites back up.

    How you will (most likely) HAVE to do it

    Since none of your software has any unit/acceptance tests, no up-to-date specification, or even notion of continuous integration system, you will have to do it the hard way:

    'step 1' take a survey of different servers setups on which your projects 
             are deployed (if you have all project on single box with 
             virtual-hosts, you can skip this bit )
    'step 2' find somewhere a computer, which can temporary act as local server
    <foreach setup>
    
        'step 3' install/configure this temporary server to be exactly like 
                 the "setup"
        <foreach project on that setup>
    
            'step 4' BACKUP ALL THE STUFF
            'step 5' copy the latest source and DB from the production server
            'step 6' upgrade the software
            'step 7' see what has *blown* up and fix what you can find    
            'step 8' pass to the QA team 
            'step 9' store the source
    
        </endforeach project>
        'step 10' take the server with this configuration down for maintenance
        'step 11' upgrade software on the server
        'step 12' deploy all the projects from this server 
        'step 13' prayer (optional)
    
    <endforeach setup>
    

    This is kinda the “brief” version. Basically you will have to go server-by-server, clone it locally, then upgrade, patch projects. Then upgrade each server and put the patched version on. And hope.

    Should you upgrade ?

    Clients will not pay for this.

    Since you have ~50 different projects, you would have to investigate if it’s even worth the time and money. After such analysis you might discover that it would make more sense for a business to mark most of the projects as “legacy” and just upgrade server(s) to latest 5.2.x. Then leave it alone.

    Of course even if you decide to not upgrade most of the projects, there will be some that will require it. Particularly project with ongoing contracts, which generate a steady stream of income for the company.

    I would recommend to start upgrading those cash-cow projects, because you will have to anyway. And then from this experience you can calculate the costs for the rest of your “portfolio”.

    What about next time ?

    PHP 5.4 is out (at the time of last edit, 5.5 is already coming). Most companies by the end of this year will be faced with a question: “Is it time to start using 5.4 ?”. Some sooner, some a bit later. The frameworks and CMSs, that you use, too have a tendency to get updates.

    Bottom line: your company as whole should start to investigate ways to streamline this process.

    And what about when you upgrade to PHP 5.5 and mysql_* functions start showing E_DEPRECATE warnings? See the red box in mysql_affected_rows() documentation. This is not a one-time thing.

    It might be wise to invest in implementing better deployment strategy (something that involves unit-tests and continuous integration).



    <rant>

    Do developers of php ever think about that? Many (popular) functions are just depreciated causing a lot of work to people like us.

    The functions and functionality, that has been deprecated, has been marked as such in documentation for ages. For example, the notice, that ereg() and passing object by reference should not be used, has been there since I began learning PHP. The deprecation warnings would affect mostly PHP4 codebase (in which case, your question is a bit disingenuous).

    I do not see how enforcing practices, which have been accepted in the community for years, is “causing a lot of work”.


    </rant>

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

Sidebar

Related Questions

Our Dev team had been developing enterprise web page more than 2 years ago.
We are currently developing a few web applications and are letting our designers convert
When working with web-designers in a Spring-MVC and JSP environment, are there any tools
One of our web designers is working on a site at the moment and
Firstly: I'm a lowly web designer who knows just enough PHP to be dangerous
I had Office 2003 & Dashboard Designer installed. I was creating a bunch of
Ive been getting back into asp.net web forms and I had a question about
One of the best applications I've ever had the privelege of using was Tredosoft's
I'm creating a javascript widget so third partys (web designers) can post a link
I'm in the process of building a rather big web application with PHP +

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.