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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:15:29+00:00 2026-05-23T20:15:29+00:00

i don’t know how to say that in technical terms. and i think this

  • 0

i don’t know how to say that in technical terms. and i think this is the reason to why i cant get good answer from Google.

i have xampp on my local winxp machine. i use it for developing websites locally then upload these files to my clients shared hosting accounts.

the problem that in 2 years i have always found differences between how xampp works and how the web server work.

some code work locally but dont remotely and the opposite. also flash behave differently on xampp than the remote web server.

is there is a way i can get the server configuration and use it with xampp like get the server php.ini and use it with xampp?

  • 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-23T20:15:30+00:00Added an answer on May 23, 2026 at 8:15 pm

    In fact XAMPP may behave different than your production system’s web server.

    This might be annoying at first, but it is definitely manageable.

    Some thoughts:

    Run

    <?php
      echo phpinfo(); 
    ?>
    

    on both systems and check different features.

    If a feature of PHP is marked as experimental, just drop it.

    In case you need to deploy on different production servers, prepare a script called grabProperties.php and add code which checks essential properties you know to be in use. Output the result in some normalized way, so you may use another script to compare results and prepare a nice report.

    Certain features activated in XAMPP are not enabled on most web hoster’s server – e.g. Flash support. Before using these features, first ensure they are present on your production system.

    You are always free to change php.ini. Thus, you may enable or disable modules in such a way, that you dev system mimics your production system’s settings.

    I wonder, that Flash problems relate to PHP itself. More likely, problems relate to erroneous code.

    That said…

    I do write PHP for quite some time. Upgraded XAMPP on dev and Apache/PHP/MySQL on production system several times. But not a single application failed to work after the upgrade.

    Several times, I moved from dev Windows and production Linux to dev Mac OS X. Even there, everything worked fine immediately.

    Needless to note, that not a single line of code needs to be changed between dev and prodution systems.

    The essential point to to write high quality code is based on a defensive style.

    • Check as much input parameters of as much methods as possible (see assert()).
    • Log all errors to a log-file and visualize it using your admin backend (see set_error_handler()).
    • Use type-hints as often as possible (see type-hinting)
    • Set the maximum error level and code in such a way, that not a single warning appears.

    Still unsatisfied?

    In case you are still unsatisfied with XAMPP, prepare a virtual machine with VirtualBox, install some Linux edition and enable apache, mysql and php.

    If your hoster’s server is on linux – which is very likely – there should’t be a big problem configuring the virtual LAMP server in a similar way.

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

Sidebar

Related Questions

I don't know: if this works. if it's a good idea. what it is
Don't know if there is a better way to do this, so that is
don't know better title for this, but here's my code. I have class user
I don't know if the correct title for this is hot deploy. I am
For some reason, after submitting a string like this Jack’s Spindle from a text
(Don't know if this is strictly on-topic, but I don't see any better Stack
Don't know if this has been asked before, so point me to another question
Don't know how to explain it better but i'm trying to get a response
Don't think that I'm mad, I understand how php works! That being said. I
Don't know if anyone can help me with this or if it's even possible.

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.