- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Will enabling XDebug on a production server make PHP slower?
Yes, debuggers like XDebug reduce the performance of the PHP server. This is the reason why debuggers are not placed in server environment. They are deployed in a different environment to avoid unnecessary overheads.
Debug messages can’t be displayed in an application that is already in the production phase.
When debugging behavior is added to the server, the debug engine gets attached to the PHP process. It starts to receive messages to stop at breakpoint, but this is not the required behavior, since it introduces a high-performance blow to other processes thereby stopping the PHP parser.
On the other hand, when a debugger is installed, they tend to open ports in the server, since they are not intended to be used in production environments.
Opening ports in the server is as bad as opening a door for a hacker to snoop around.
- Related Articles
- Connecting to SAP HANA server on Cloud using PHP
- Upload file with php to another php server
- Why will a sheet of paper fall slower than one that is crumpled into a ball?
- Enabling GitHub OAuth in Django
- How to identify server IP address in PHP?
- Enabling Audit policy in SAP HANA
- Arrange the following boxes in proper order to make a flow chart of sugarcane crop production.
- PHP – Make a lower case string using mb_strtolower()
- Running a static site on Apache Server from Docker
- Enabling Web dispatcher in SAP HANA Studio
- How to Install Rundeck on a Debian 8 (Jessie) Server
- Production Function
- Enabling XS Engine service in SAP HANA Studio
- Install wordpress on localhost with xampp server
- How To Install Parse Server on Ubuntu
