Posts by Starlight

    fulltilt, I updated your code with latest releases.

    For PHPSwitcher and latest PHP versions modify

    /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl as follow:



    Edit: Creating PHP 8.0 binaries does not yet work. Need to also change /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/Makefile but could not yet figur out the the right settings.

    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:

    Code
    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:

    Code
    1. perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl --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.