How to speed up php by removing debugging option?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to speed up php by removing debugging option?

Postby helpme128 » 08. August 2014 10:53

I am using xampp1.8.3. I want to speed up the php code. Inside phpinfo(), it was seen under `Configure Command` the option "--enable-debug-pack". I suspect the option `--enable-debug-pack` is slowing down my code. How can I remove this and speed up php in xampp?

Thank you.
helpme128
 
Posts: 1
Joined: 08. August 2014 10:49
Operating System: Windows

Re: How to speed up php by removing debugging option?

Postby Nobbie » 08. August 2014 11:16

helpme128 wrote:I am using xampp1.8.3. I want to speed up the php code.


You cannot speed up the php code.

helpme128 wrote:I suspect the option `--enable-debug-pack` is slowing down my code. How can I remove this and speed up php in xampp?


I dont know, if debug code is activated at runtime (there maybe an additional option for that), but anyway, this does slow down your php code and you cannot speed up php code (at least not measurable).

If you have performance problems, you should tell us where and how, but php itself usually isnt a bottleneck. Mostly MySQL or Server Connection or huge I/O are bottlenecks. Pure PHP Code usually does not even take 1/10s for a modern CPU, only very very computationally intensive code may slow down your application.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 135 guests