中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

【CentOS】How to setup PHP env

發布時間:2020-06-13 01:33:23 來源:網絡 閱讀:656 作者:chaoh2007 欄目:web開發

////// apache

# yum install httpd httpd-devel

# systemctl start httpd

# systemctl status httpd

# systemctl enable httpd


////// php

# yum install php php-devel

# systemctl restart httpd


////// error

[root@wode013 sbin]# systemctl status httpd.service

● httpd.service - The Apache HTTP Server

   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)

   Active: failed (Result: exit-code) since 二 2016-03-08 11:22:49 EST; 6min ago

     Docs: man:httpd(8)

           man:apachectl(8)

  Process: 30009 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)

  Process: 29986 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)

 Main PID: 29986 (code=exited, status=1/FAILURE)


3月 08 11:22:49 wode013 httpd[29986]: (13)Permission denied: AH00072: make_sock: could not bind to...6000

3月 08 11:22:49 wode013 httpd[29986]: (13)Permission denied: AH00072: make_sock: could not bind to...6000

3月 08 11:22:49 wode013 httpd[29986]: no listening sockets available, shutting down

3月 08 11:22:49 wode013 httpd[29986]: AH00015: Unable to open logs

3月 08 11:22:49 wode013 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE

3月 08 11:22:49 wode013 kill[30009]: kill: cannot find process ""

3月 08 11:22:49 wode013 systemd[1]: httpd.service: control process exited, code=exited status=1

3月 08 11:22:49 wode013 systemd[1]: Failed to start The Apache HTTP Server.

3月 08 11:22:49 wode013 systemd[1]: Unit httpd.service entered failed state.

3月 08 11:22:49 wode013 systemd[1]: httpd.service failed.

Hint: Some lines were ellipsized, use -l to show in full.


////// port

[root@wode013 sbin]# firewall-cmd --add-service=http --permanent

success

[root@wode013 sbin]# firewall-cmd --reload

success

[root@wode013 sbin]# firewall-cmd --list-all

public (default, active)

  interfaces: enp3s0f0 enp3s0f1

  sources:

  services: dhcpv6-client http ssh

  ports: 5000/tcp

  masquerade: no

  forward-ports:

  icmp-blocks:

  rich rules:


[root@wode013 sbin]# semanage port -l | grep 80

http_cache_port_t              tcp      8080, 8118, 8123, 10001-10010

http_port_t                    tcp      80, 81, 443, 488, 8008, 8009, 8443, 9000



向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

浪卡子县| 英超| 大同市| 洛扎县| 江都市| 镇远县| 洪湖市| 奉贤区| 东兴市| 鄂托克旗| 彩票| 建德市| 枣庄市| 衡东县| 普安县| 綦江县| 汶上县| 荥阳市| 铁力市| 大余县| 阜城县| 天镇县| 凉山| 云南省| 安徽省| 镇远县| 永泰县| 苏尼特右旗| 墨玉县| 越西县| 南乐县| 贵阳市| 温泉县| 泗洪县| 韶关市| 湾仔区| 江津市| 墨竹工卡县| 惠州市| 永顺县| 梁平县|