swoole-doc icon indicating copy to clipboard operation
swoole-doc copied to clipboard

swoole文档及入门教程

Results 14 swoole-doc issues
Sort by recently updated
recently updated
newest added

今日心血来潮,买了个服务器,准备做个聊天室 首先梳理一下流程 1.下载安装php7,prefix=/home/shenchenxi/data/study/php ....(make,makeinstall) 2.下载swoole, phpize(/home/shenchenxi/data/study/php/bin/phpize)生成configure 3../configure --with-php-config=/home/shenchenxi/data/study/php/bin/php 4.make(报错,) ![image](https://user-images.githubusercontent.com/45584543/49421501-30908700-f7cb-11e8-9276-0ad2fc6e1232.png) 我去,也真是日了狗,怎么问都问不出个花来

error: #error "Enable async_mysql support, But no mysqli or mysqlnd." make: **\* [swoole.lo] Error 1

ERROR zm_deactivate_swoole (ERROR 103): Fatal error: Call to undefined method swoole_server::addtimer() in **** on line 27 ```

Mac下使用cli_set_process_title报错:Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly #616,查阅了相关资料,应该是mac下安全性的问题,不允许重命名进程名称。 我的解决方案是将manager进程的pid记录到sh文件中,直接用pid来reload,这样的话可以全平台通用: public function onStart(swoole_server $serv ) { @cli_set_process_title("reload_master"); $managerPid = $serv->manager_pid; $shString = "echo \"Reloading...\" kill -USR1 {$managerPid} echo \"Reloaded\"";...

demo-src-Chatroom 输入完用户名后没有任何输出,同一台机器两个客户端,server这边提示客户端连接成功。没有任何报错输出,redis我这边也安装了。请问这个是哪里出的问题?谢谢。 swoole v 1.9.9

vagrant@vagrant-ubuntu-trusty:~/www/swoole$ make /bin/bash /home/vagrant/www/swoole/libtool --mode=compile cc -I. -I/home/vagrant/www/swoole -DPHP_ATOM_INC -I/home/vagrant/www/swoole/include -I/home/vagrant/www/swoole/main -I/home/vagrant/www/swoole -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/home/vagrant/www/swoole/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/vagrant/www/swoole/swoole.c -o swoole.lo libtool: compile:...

在编译安装时,执行make命令,得到了一条错误: `fatal error: 'config.h' file not found` 请问怎么解决? 系统是最近更新的OSX 10.12

`Fatal error: Uncaught Error: Call to undefined method swoole_server::addtimer()`