第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

php swoole 安裝失敗

php swoole 安裝失敗

PHP
瀟湘沐 2019-03-07 05:40:19
看到一個(gè)基于swoole的聊天室,php 環(huán)境根據(jù)yum安裝lnmp安裝好了,之后安裝swoole,但是失敗了 [root@VM_0_14_centos html]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [root@VM_0_14_centos html]# pecl install swoole Could not download from "http://pecl.php.net/get/swoole-4.2.7.tgz", cannot download "pecl/swoole" (File http://pecl.php.net:80/get/swoole-4.2.7.tgz not valid (received: HTTP/1.0 500 Internal Server Error )) Error: cannot download "pecl/swoole" Download failed install failed 于是開(kāi)始源碼安裝 #git clone https://github.com/swoole/swoole-src #cd swoole-src #phpize #./configure checking for gcc... no checking for cc... no checking for cl.exe... no configure.sh:error:no acceptable C compiler found in $PATH See 'config.log' for more details. 更新: 后來(lái)重新安裝成功了 #yum -y install gcc #./configure checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. #yum install glibc-headers gcc-c++ #./configure Build complete. Don't forget to run 'make test'. Installing shared extensions: /usr/lib64/php/modules/ Installing header files: /usr/include/php/ #vi /etc/php.ini extension= /usr/lib64/php/modules/swoole.so 但是使用的時(shí)候Redis啟動(dòng)不了。 [root@VM_0_14_centos php-chatroom]# systemctl start redis Job for redis.service failed because the control process exited with error code. See "systemctl status redis.service" and "journalctl -xe" for details. [root@VM_0_14_centos php-chatroom]# systemctl status redis.service ● redis.service - Redis persistent key-value database Loaded: loaded (/usr/lib/systemd/system/redis.service; disabled; vendor preset: disabled) Drop-In: /etc/systemd/system/redis.service.d └─limit.conf Active: failed (Result: exit-code) since Thu 2018-11-15 14:32:52 CST; 16s ago Process: 12519 ExecStop=/usr/libexec/redis-shutdown (code=exited, status=1/FAILURE) Process: 12518 ExecStart=/usr/bin/redis-server /etc/redis.conf --supervised systemd (code=exited, status=1/FAILURE) Main PID: 12518 (code=exited, status=1/FAILURE) Nov 15 14:32:51 VM_0_14_centos systemd[1]: Starting Redis persistent key-value database... Nov 15 14:32:51 VM_0_14_centos systemd[1]: redis.service: main process exited, code=exited, status=1/FAILURE Nov 15 14:32:52 VM_0_14_centos redis-shutdown[12519]: Could not connect to Redis at 127.0.0.1:6379: Connection refused Nov 15 14:32:52 VM_0_14_centos systemd[1]: redis.service: control process exited, code=exited status=1 Nov 15 14:32:52 VM_0_14_centos systemd[1]: Failed to start Redis persistent key-value database. Nov 15 14:32:52 VM_0_14_centos systemd[1]: Unit redis.service entered failed state. Nov 15 14:32:52 VM_0_14_centos systemd[1]: redis.service failed. 更新:在systemctl 啟動(dòng)redis找到答案 chown redis:redis /var/log/redis/redis.log [root@VM_0_14_centos php-chatroom]# systemctl status redis ● redis.service - Redis persistent key-value database Loaded: loaded (/usr/lib/systemd/system/redis.service; disabled; vendor preset: disabled) Drop-In: /etc/systemd/system/redis.service.d └─limit.conf Active: active (running) since Thu 2018-11-15 15:20:18 CST; 37s ago Main PID: 15239 (redis-server) CGroup: /system.slice/redis.service └─15239 /usr/bin/redis-server 127.0.0.1:6379 Nov 15 15:20:18 VM_0_14_centos systemd[1]: Starting Redis persistent key-value database... Nov 15 15:20:18 VM_0_14_centos systemd[1]: Started Redis persistent key-value database. 另外一個(gè)聊天室 https://github.com/onebig32/s...
查看完整描述

1 回答

?
森林海

TA貢獻(xiàn)2011條經(jīng)驗(yàn) 獲得超2個(gè)贊

經(jīng)過(guò)以上討論,證明題主沒(méi)權(quán)限,問(wèn)題中已經(jīng)把答案寫(xiě)出來(lái)了。給我點(diǎn)個(gè)采納吧,哈哈哈。

查看完整回答
反對(duì) 回復(fù) 2019-03-18
  • 1 回答
  • 0 關(guān)注
  • 584 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)