GithubHelp home page GithubHelp logo

dotdeb-xdebug's People

Contributors

gplessis avatar

Stargazers

 avatar

Watchers

 avatar

dotdeb-xdebug's Issues

xdebug is always activated→major performance impact on the website

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. ;-)

Update xdebug to 2.5.5

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.