Welcome to Centmin Mod Community
Become a Member

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

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 27, 2021.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    more prep work for PHP async_swoole extension in 123.09beta01

    - part 2 of https://community.centminmod.com/th...ole-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.

    Code (Text):
    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...


    123.09beta01 branch