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 185979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T15:34:00+00:00 2026-05-11T15:34:00+00:00

I have a legacy web application php4/mysql4 (MyISAM, db contains some cms, some user

  • 0

I have a legacy web application php4/mysql4 (MyISAM, db contains some cms, some user data, some calendar application). Now I am going to migrate to a new server with php5/mysql5.

What are the typical php issues in such a migration scenary (php, sql queries, anything)?

I’ve heard that the function parameter passing changed, call-by-reference / call-by-value. Can you give an example or explain?

Anything else I should be aware of?

(The mysql issues are covered in a different question: Migrating php4/mysql4 to php5/mysql5: switch to InnoDB?)

  • 1 1 Answer
  • 2 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. 2026-05-11T15:34:00+00:00Added an answer on May 11, 2026 at 3:34 pm

    Most of the PHP 4/5 compatibility issues are two things:

    • new reserved words
    • new class/object backend

    Most v4 code will run just fine in v5. Where you are likely to run up against problems is code that depends on the limitations of v4’s class model or takes advantage of v4’s reference quirks. But most people don’t code up against those limits (I have – that’s why I know they’re there).

    If you are stuck with the class/object limits, you can run the Zend engine in a ‘v1’ mode which makes the classes and objects behave like in v4. This is documented.

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

Sidebar

Related Questions

I have a legacy web application php4/mysql4 (MyISAM, db contains some cms, some user
I have inherited a legacy web application that contains API credentials for a Twitter
We have a legacy web application (not Spring based) and are looking for best
I downloaded nUnit and TestDriven.net. I have a legacy Web Site application and I
I have the 'luck' of develop and enhance a legacy python web application for
I have two data sources: a legacy one (web service) and a database one.
Scenario: old legacy code in rpg have to consume data from a new web
I have a Asp.net web application running with the following config setting. <xhtmlConformance mode=Legacy/>
I have a legacy data-driven application with an extremely complicated data model (and hundreds
I've been looking into a legacy application with a web-based user interface. Given its

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.