Discover Centmin Mod today
Register Now

Master Branch more prep work for PHP async_swoole extension in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Dec 7, 2021.

  1. eva2000

    eva2000 Administrator Staff Member

    48,487
    11,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,303
    Local Time:
    5:17 AM
    Nginx 1.21.x
    MariaDB 10.x
    more prep work for PHP async_swoole extension in 123.09beta01

    - part 2 of https://community.centminmod.com/threads/add-optional-php-swoole-support-in-123-09beta01.22183/#post-90750 to extend swoole extension with additional flags to enable --enable-mysqlnd --enable-swoole-json --enable-swoole-curl --enable-sockets --enable-openssl
    - can optionally be installed via PHPSWOOLE='y' set persistent config file /etc/centminmod/custom_config.inc variable prior to running centmin.sh menu option 5 upgrade or prior to initial Centmin Mod installations and there will be 2 swoole extensions for swoole and async_swoole. Currently async_swoole is not working so is disabled.

    php --ri swoole

    swoole

    Swoole => enabled
    Author => Swoole Team <team@swoole.com>
    Version => 4.8.2
    Built => Nov 26 2021 15:48:00
    coroutine => enabled with boost asm context
    epoll => enabled
    eventfd => enabled
    signalfd => enabled
    cpu_affinity => enabled
    spinlock => enabled
    rwlock => enabled
    sockets => enabled
    openssl => OpenSSL 1.0.2k-fips 26 Jan 2017
    json => enabled
    curl-native => enabled
    pcre => enabled
    zlib => 1.2.7
    brotli => E16777225/D16777225
    mutex_timedlock => enabled
    pthread_barrier => enabled
    futex => enabled
    mysqlnd => enabled
    async_redis => enabled


    Directive => Local Value => Master Value
    swoole.enable_coroutine => On => On
    swoole.enable_library => On => On
    swoole.enable_preemptive_scheduler => Off => Off
    swoole.display_errors => On => On
    swoole.use_shortname => On => On
    swoole.unixsock_buffer_size => 8388608 => 8388608

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.