Workerman

作者: wenki | 来源:发表于2016-09-13 10:21 被阅读0次

    OS: CentOS Linux release 7.2.1511 (Core)
    PHP: 7.02

    Install Composer

    curl -sS https://getcomposer.org/installer | php
    mv composer.phar /usr/local/bin/composer
    

    参考:https://www.epictrim.com/ideas/install-composer-on-centos/

    Install Workerman

    su wenki # 切换成普通用户
    composer require workerman/workerman
    

    参考:https://github.com/walkor/workerman

    Function stream_socket_server is disabled?

    vi php.ini
    disable_functions = passthru,system,chroot,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server,fsocket,popen
    #remove stream_socket_server & restart php
    

    相关文章

      网友评论

          本文标题:Workerman

          本文链接:https://www.haomeiwen.com/subject/uwdmettx.html