上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: 造成这个的原因是因为找不到php的执行文件导致的,原先我是安装的php5.4,然后卸载了重新安装php7,导致php可执行文件没有放到$PATH中,可以在终端测试:php -v,如果报错bash: /usr/bin/php: 没有那个文件或目录,就说明php没有放到环境变量中 解决方法: [root 阅读全文
posted @ 2017-06-12 11:21 屌丝IT男 阅读(12604) 评论(0) 推荐(0) 编辑
摘要: 首先,在linux系统的/etc/init.d/目录下创建nginx文件,使用如下命令: 这个是nginx官方写的脚本,红色部分需要修改成自己安装ngnix的路径 nginx=”/usr/sbin/nginx” 修改成nginx执行程序的路径。 NGINX_CONF_FILE=”/etc/nginx 阅读全文
posted @ 2017-06-09 12:46 屌丝IT男 阅读(3517) 评论(0) 推荐(0) 编辑
摘要: 先查看下所有服务的状态,看看php-fpm有没有正在运行 [root@centos64 html]# service --status-all php-fpm (pid 3568) 正在运行... 如果php-fpm已停,就开启此服务:service php-fpm start 如果php-fpm已 阅读全文
posted @ 2017-06-09 11:39 屌丝IT男 阅读(526) 评论(0) 推荐(0) 编辑
摘要: redis打包文件下载地址:http://files.cnblogs.com/files/cuiwenyuan/Redis-3.2.100-Windows-32.zip php_redis.dll下载地址:http://windows.php.net/downloads/pecl/snaps/red 阅读全文
posted @ 2017-06-08 22:06 屌丝IT男 阅读(2448) 评论(0) 推荐(0) 编辑
摘要: 第一步:在centos下面下载 nginx wget http://nginx.org/download/nginx-1.2.9.tar.gz 解压 tar zxf nginx-1.2.9.tar.gz第二部:新建一个用户nginx在安装操作 useradd nginx passwd nginx第三 阅读全文
posted @ 2017-06-07 11:43 屌丝IT男 阅读(3966) 评论(0) 推荐(1) 编辑
摘要: 更新软件源[1] wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm wget http://rpms.remirepo.net/enterprise/remi-release-6.rpm rpm - 阅读全文
posted @ 2017-06-05 11:20 屌丝IT男 阅读(2554) 评论(0) 推荐(0) 编辑
摘要: 通过以下命令查看了MySQL的字符集 连接上mysql服务,输入以下命令 mysql>show variables like 'character_set%'; 显示如下: 为了让MySQL支持中文,需要把字符集改变成UTF8, 方法如下: 1. 打开vi /etc/my.cnf 2. 修改成如下内 阅读全文
posted @ 2017-06-03 11:43 屌丝IT男 阅读(566) 评论(0) 推荐(0) 编辑
摘要: 原因是MySQL的密码有问题 用mysql匿名用户可以进入数据库,但是看不见mysql数据库. 解决办法:具体操作步骤:关闭mysql:# service mysqld stop然后:# mysqld_safe --skip-grant-tables开启另一个终端并启动mysql:# service 阅读全文
posted @ 2017-06-03 10:53 屌丝IT男 阅读(8811) 评论(1) 推荐(0) 编辑
摘要: 先用chkconfig --list查询apache和mysql服务是否存在,不存在则需要手动添加 [root@centos64 vsftpd]# chkconfig --list 测试存在,只需要开启就行了 [root@centos64 vsftpd]# chkconfig httpd on [r 阅读全文
posted @ 2017-06-01 17:26 屌丝IT男 阅读(3517) 评论(0) 推荐(1) 编辑
摘要: 首先判断你服务器上是否安装了vsftpd [root@centos64 vsftpd]# rpm -q vsftpd 安装vsftpd [root@centos64 vsftpd]# yum -y install vsftpd 到vsftpd的主配置文件里面修改 [root@centos64 vsf 阅读全文
posted @ 2017-06-01 16:10 屌丝IT男 阅读(168) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 14 下一页