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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:00:03+00:00 2026-05-23T00:00:03+00:00

What is the difference in how they are handled? Specifically, why is it common

  • 0

What is the difference in how they are handled?

Specifically, why is it common to find Python used in production-level long lived applications like web-servers while PHP isn’t given their similar efficiency levels?

  • 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-23T00:00:04+00:00Added an answer on May 23, 2026 at 12:00 am

    PHP was designed as a hypertext scripting language. Every process was designed to end after a very short time. So memory management and GC basically didn’t matter.

    However the ease and popularity of PHP have invoked its usage in long lived programs such as daemons, extensive calculations, socket servers etc.

    PHP 5.3 introduced a lot of features and fixes that made it suitable for such applications, however in my opinion memory management was of lower significance on that matter.

    PHPs error management is quite good now, but as in every programming language that I know of you can produce memory leaks.

    You still cannot code in the same style that you can code Java or Python applications. A lot of PHP programs will probably show severe problems where Java/Python do not.

    You can characterize this as “worse”, but I would not. PHP just is a different set of tools that you have to handle different.

    The company I work at has a lot of system programs and daemons written in PHP that run like a charm.

    I think the biggest caveat for PHP when it comes to as you describe “production-level long lived applications” is its multi-processing and threading ability (the 2nd is basically nonexistent).

    Of course there is the possibility to fork processes, access shared memory, do inter process communications and have message queues and stuff. But Python is far ahead on that matter, because it was designed bottom up for jobs like that.

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

Sidebar

Related Questions

What is the difference between those 2 files? Like I know they are for
I am trying to handle two different WebException 's properly. Basically they are handled
What is the difference? They all are business management solutions. They do the same?
Is there a difference in performance between TOP and SET ROWCOUNT or do they
What's the difference between the two? They seem to have the same functionality at
Is there a difference between NULL and null in PHP? Sometimes they seem to
What is the difference in meaning between 'semantics' and 'syntax'? What are they? Also,
What is the difference between the id and name attributes? They both seem to
What's the difference between mesh and geometry? Aren't they the same? i.e. collection of
Is there any difference between Array.Copy and CopyTo ? Are they just overloaded?

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.