Posts by Starlight

    Open Source is only working under two conditions:

    1) there is a big community that supports the software, i.e. contributes with code and expertise, or

    2) a company that has a business model around hosting or providing value added services and add-ons.

    The critical mass for developers would be 4-5 active and up to 10 contributors. If they move away, it's hard to maintain an Open Source product. That's what we should have learned from ispCP.

    Unfortunately, the code is not that easy for beginners to start with writing add-ons. I tried to implement TOTP, but I stuck with the API calls. A documentation would really help. However, documentation can only be done by the developer(s).

    Starting with plugins or add-ons this is how you engage people to contribute and stay. I hope Nuxwin takes some of his valuable spare time to document the API.

    Here is an optimized version of you script UncleSam

    After updating to 5.0.1 I got another error:

    Any idea?

    To re-run, I also need to clean up the build directory. Could be an improvement before starting the build process:

    1. rm -r /var/cache/pbuilder/psw-debian-jessie.cow/

    Hi Nuxwin,

    First of all thank you for the latest release of PHP Switcher.

    When compiling PHP versions with the following command line:

    1. perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/ --register --force-last --install-dir /opt/phpswitcher/%compDate% --runtime-dependencies --verbose --zts %phpVersions%

    I get an error "An error occurred while setup of PHP build environment: need to specify operation before --basepath option"

    with the following stack:

    What is wrong with --architecture amd64? How to solve this?

    With  --no-chroot it runs.

    I improved the script to not add redundant code (50% less lines of code) for each new version:

    The latest PHP Switchre plug-in has a dependency between libgd-dev and libgd2-xpm-dev that cannot be resolved in jessie. It leads to an error while compiling PHP versions.

    This package should and can be safely removed in Debian jessie (transitional package) and strech (virtual package).

    I'll and I hope that following you work, you'll participate too.

    Sure, I will do. Let me first try to get my plugin working as expected and I'm going to document the important parts. Nevertheless, for the tricky parts, I need your help. You know the code better.

    Quote from Starlight

    b) find out what API version is the minimum possible to provide a plugin for?

    Here you got me wrong. I actually wanted to find out, how to identify the lowest API version, the plugin would probably work with. It's a bit tricky: I develop a plugin with iMSCP 1.5.1 and API v 1.5.0. And I wonder, is this also working with iMSCP 1.1.6 or 1.4.7 or not. Just to set the api_version parameter right.