Best way to install and configure both a development and production server? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more

Xdebug on production server for single account

I have a situation where i have a development site on the same server as a number of production sites, not ideal i know. I would like to use xdebug for the development site but i’m concerned it will create unnecessary overhead on the production sites. Assuming i disabled the error handler, tracing and profiling … Read more

Xdebug only writes to /tmp

I’ve installed Xdebug on Centos 6.2. It writes cachgrind files to /tmp just fine, But I want it to write to /tmp/xdebug instead. I’ve added this to my php.ini: xdebug.profiler_output_dir = /tmp/xdebug and changed the owner of the folder to apache:apache and chmode it to 777. But, it is not writing any files. When I … Read more

Xdebug – no profile or trace output

I’m at a bit of a loss trying to get profiling and tracing working with Xdebug (debugging works fine). What’s worse is that I have it working just fine on a different server/client setup, but I can’t seem to see the difference that and this developer workstation using localhost. Nothing is being output to xdebug.log, … Read more

Unable to determine xdebug entry point for php 7.0 and apache

I’m trying to install xdebug … or even uninstall it. It’s not loading properly, but for the life of me I can’t get it to uninstall. I tried to reinstall it several times only to eventually realize that every time I did, it would increase the length of the errors. So somewhere there’s old, accruing … Read more

Is xdebug compatible with a custom install of php 5.3?

sudo apt-get install php5-xdebug Reading package lists… Done Building dependency tree Reading state information… Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The … Read more

What’s XDebug used for?

test:coverage relies on XDebug to collect its information, you need to install it and enable it first. How does it work? Answer It is a PHP module, requiring a small amount of server-side configuration to install It expands the functionality of the PHP software itself by modifying its execution of scripts, pulling in details and … Read more

Should I add extension=xdebug.so to load xdebug as a php module or not?

First, http://xdebug.org/docs/install says Note: You should ignore any prompts to add “extension=xdebug.so” to php.ini — this will cause problems. Second, http://xdebug.org/docs/install says Xdebug should appear twice there (once under ‘PHP Modules’ and once under ‘Zend Modules’). Answer The docs clearly say: you still need to add the correct line to your php.ini: (don’t forget to … Read more

Apache request time – what’s wrong?

I make JSON API and when measuring performance there’s this strange thing. When doing XDEBUG_PROFILE, request processing takes about 100 ms. But browser network panel says it’s always 1 – 1.5 seconds. Why so big difference and how do I know what causes it? System is GNU/Linux, Apache 2.2.17 Answer Profiling code will give you … Read more

debian 6 – php 5.4.1 – xdebug phpize php-config –version incorrect

I’m quite new with Linux server management and I have a linux server with the following configuration: Distributor ID: Debian Description: Debian GNU/Linux 6.0.6 (squeeze) Release: 6.0.6 Codename: squeeze PHP version: 5.4.12-1~dotdeb.1 I’m trying to install xdebug and I’ve used the wizard on the xdebug website(). Output of xdebug Xdebug installed: no Server API: Apache … Read more