php php如何获取网站根目录所在路径 php获取网站根目录所在路径很简单,系统提供的$_SERVER这个数组中包含了网站根目录路径 2020年02月16日 阅读 2,755 views 发表评论 阅读全文
php websocket握手连接失败,报错Response must not include ‘Sec-WebSocket-Protocol’ header if not present in request: chat websocket连接失败,报错:WebSocket connection to 'ws://127.0.0.1:8888/' failed: Error duri... 2020年02月15日 阅读 4,646 views 2 阅读全文
mysql mysql数据表状态是“使用中”,无法写入数据 昨天给一个网站搬家,搬完之后今天发现数据库无法写入数据。 进入phpmyadmin检查数据库,发现有一张数据表的状态是“使用中” 选中这张表,点击“修复表”,就可以... 2020年02月15日 阅读 2,361 views 发表评论 阅读全文
linux运维 centos7 php如何编译安装sockets扩展 1.进入到php源码下载后解压的目录,再进入ext/sockets目录,在该目录下执行下面的命令 /usr/local/php/bin/phpize 如果出现 "C... 2020年02月11日 阅读 2,845 views 发表评论 阅读全文
linux运维 php-fpm怎么启动、重启、关闭 一、 1.php-fpm启动: /usr/local/php/sbin/php-fpm 2.php-fpm重启: 执行netstat -nltp,先查看一下php-... 2020年02月11日 阅读 2,339 views 发表评论 阅读全文
linux运维 centos7如何安装composer linux安装composer非常简单,只需要两行命令 curl -sS https://getcomposer.org/installer | php mv co... 2020年02月10日 阅读 2,082 views 发表评论 阅读全文
linux运维 centos7如何手动安装lnmp环境 1.安装nginx centos7如何安装nginx 2.安装mysql centos7如何安装mysql 3.安装php centos7如何安装php 4.ngi... 2020年02月10日 阅读 1,378 views 发表评论 阅读全文
linux运维 centos7如何关闭防护墙 关闭防火墙: systemctl stop firewalld.service 禁止防火墙开机启动 systemctl disable firewalld.serv... 2020年02月09日 阅读 1,383 views 发表评论 阅读全文
linux运维 centos7如何安装php7.3 1.下载php yum install wget -y && wget https://www.php.net/distributions/php-7.3.14.t... 2020年02月09日 阅读 1,503 views 发表评论 阅读全文