PhpSwitcher - PHP-FPM support

  • Soon available through PhpSwitcher: Support for PHP-FPM:


    phpswitcher_fpm.png


    Note: In near future (i-MSCP 1.4.0), it will be also possible to have domains, subdomains with PHP-FPM and other with Fcgid ;) For PHP-FPM support, one master instance will be spawn for each configured PHP version. The plugin will manage these instances separately using their sysvinit scripts (on per instance).

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hope it is understandable. Any review is welcome:


    README file for coming PhpSwitcher version:


    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • README file updated. See above. Thank for reviews.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • V2.0.0 on the road (tests in progress).


    CHANGELOG will be


    • Added: doc/graceful_update howto which explains how to mitigate service disruption when recompiling PHP versions
    • Added: PHP version activation/deactivation feature - Administrator interface
    • Added: Support for PHP-FPM Apache2 httpd server implementation
    • Fixed: Backend listeners are registered twice in some contexts (update, reconfiguration)
    • Fixed: Could not build Pecl extensions - aclocal directory not found - PHP 7.0
    • Fixed: Missing CLI binary - PHP 4.4
    • Fixed: PHP 7.0 build failure under Ubuntu Precise (PCRE library too old; usage of bundled version instead)
    • Refreshed: PHP 5.3.29, 5.4.45, 5.5.31, 5.6.17, 7.0.2 patches (New upstream versions, FPM support and security fixes)
    • Updated: README and UPDATE files
    • Updated: Translation files

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Tests are still in progress. Some minor issues to fix and then, first version with PHP-FPM support will be released ;)


    Right now, it run. For instance:


    phpswitcher_fpm_running.png

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Readme file updated again (see above). Thank you for any review.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Here some fixes:
    README

    • Typo: "set differents PHP versions?" -> "set different PHP versions?"
    • Typo: "2. Create a new PHP version as follow (exemple for PHP 7.0):" -> "2. Create a new PHP version as follow (example for PHP 7.0):"
    • Typo: "Note that even if only one server implementation is used at time, it is recommended to fills all parameters." -> "Note that even if only one server implementation is used at time, it is recommended to fill all parameters."

    Plugin itself

    • Bug: After deleting a subdomain, php switcher settings (may also pool files) still exists

      • Create subdomain
      • Switch php-Version e.g. to 7.0.2
      • Delete subdomain
      • Recreate subdomain
      • PHP Version in use stay 7.0.2, expected: system default
  • @Ninos


    Thank you bro for your tests. I''ll now fix all issues ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206