gplessis / dotdeb-xdebug Goto Github PK
View Code? Open in Web Editor NEWDotdeb packages of Xdebug
Dotdeb packages of Xdebug
In the current postinstallation file (Debian 8 / php7.0-xdebug 2.5.1-1~dotdeb+8.1) xdebug is always activated regardless if it's a fresh installation or an upgrade from a previous one:
Here's the file /var/lib/dpkg/info/php7.0-xdebug.postinst
:
#!/bin/sh
set -e
# Automatically added by dh_php
for conf in xdebug; do
dpkg-maintscript-helper rm_conffile /etc/php/mods-available/${conf}.ini -- "$@"
done
if [ -e /usr/lib/php/php-maintscript-helper ] ; then
. /usr/lib/php/php-maintscript-helper
for version in 7.0 ; do
for conf in xdebug ; do
php_invoke enmod $version ALL $conf || exit $?
done
done
else
for conf in xdebug ; do
phpenmod $conf
done
fi
The module will always be activated. This is not a good behaviour. An upgrade shouldn't change the current configuration of a component at all.
I know that other modules are doing php_invoke enmod/phpenmod
too but enabling the xdebug modul has a major performance impact on a website, so it's a bad thing to do. ;-)
Hi Guillaume,
I tried to download latest Sourcecode of xdebug 2.5.5 and build new packages with this repository to provide you a PR to help but it failed with errors when just replacing the sourcecode directory with a extracted tarball from xdebug. Would it be possible to provide the latest version of xdebug on dotdeb it contains some important bugfixes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.