- 博客(17)
- 资源 (2)
- 问答 (1)
- 收藏
- 关注
原创 后台图片上传限制
修改nginx.conf文件http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" '
2016-09-22 09:49:08 1041
原创 @ERROR: Unknown module 'cookie.com' rsync error: error starting client-server protocol (code 5) at m
问题:@ERROR: Unknown module 'cookie.com'rsync error: error starting client-server protocol (code 5) at main.c(1503) [sender=3.0.6]解决方案:编辑 rsyncd.conf文件检查确定 hosts allow = 116.xxx.xxx.xxx/
2016-09-13 09:47:00 6403
原创 centos 7下mysql数据库设置
yum localinstall -y http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpmyum install mysql-server -ysystemctlenable mysqldsystemctl start mysqld在centos 7环境下安装好m
2016-09-08 17:50:34 631
原创 Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
问题:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)解决方法:重启mysql 自动生成
2016-09-08 16:33:06 319
原创 扩展安装成功,但是查看模块不显示
这周在centos 7系统上安装php-5.6.17之后安装相关扩展reids/pthreads/amqp/zmq/safenet安装过程遇到很多问题,之后一一解决。但遇到最头痛的问题——安装过程没有错误,编译也是ok的。make && make install都正常重新php/nginx 之后 php -m 始终不显示解决方案:因之前编译安装后,习惯性的
2016-09-07 18:10:02 2625
原创 php下safenet扩展安装
先自行下载文件 百度云盘下:http://pan.baidu.com/s/1bo3zgLp?qq-pf-to=pcqq.c2cunzip safenet-php.zipcd safenet-php/srv/php-5.5.22/bin/phpize ./configure --with-php-config=/srv/php-5.5.22/bin/php-con
2016-09-07 18:01:30 465
原创 php下zmq扩展安装
wget https://archive.org/download/zeromq_2.2.0/zeromq-2.2.0.tar.gztar zxvf zeromq-2.2.0.tar.gzcd zeromq-2.2.0./configure--prefix=/usr/local/zeromq-2.2.0makemake installcd ..git clonegi
2016-09-07 17:58:31 1483
原创 configure: error: cannot link with -luuid,install uuid-dev.
问题:configure: error: cannot link with -luuid,install uuid-dev.解决方案:yum install uuid uuid-devel yum install libuuid-devel
2016-09-07 17:56:44 918
原创 configure: error: Unable to find a workingC++ compiler
问题:configure: error: Unable to find a workingC++ compiler 解决方案:yum install gcc-c++
2016-09-07 17:55:21 4183
原创 configure.ac:13:error: possibly undefined macro: AM_PROG_LIBTOOL
问题:configure.ac:13:error: possibly undefined macro: AM_PROG_LIBTOOL 解决:yum installlibtool –yyum install libsysfs-dev–y
2016-09-07 17:54:36 6031
原创 php下amqp扩展安装
下载地址:https://pan.baidu.com/s/1slxRLSh https://pan.baidu.com/s/1geIoJPD 百度云盘 cd/usr/local/ tar zxvf rabbitmq-c-0.4.1.tar.gz cd rabbitmq-c-0.4.1./configure --prefix=/usr/local/r
2016-09-07 17:52:41 1044
原创 php下pthreads扩展安装
wget http://pecl.php.net/get/pthreads-2.0.7.tgztar zxvf pthreads-2.0.7.tgz cd pthreads-2.0.7/srv/php-5.6.17/bin/phpize./configure --with-php-config=/srv/php-5.6.17/bin/php-configmake
2016-09-06 11:07:05 781
原创 -bash: pecl: command not found
问题:-bash: pecl: command not found解决方案:yum install -y php-devel php-pear httpd-devel
2016-09-05 14:38:25 3091
原创 Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment vari
centos7.2环境 Cannot find autoconf. Please check your autoconf installation and the$PHP_AUTOCONF environment variable. Then, rerun this script. 解决方案: #yum install
2016-09-05 14:32:41 311
原创 php下redis扩展安装
yum install git -ygit clone git://github.com/nicolasff/phpredis.gitcd phpredis/srv/php/bin/phpize./configure --with-php-config=/srv/php/bin/php-configmake && make install
2016-09-05 14:30:08 389
原创 Job for php-fpm.service failed because the control process exited with error code. See "systemctl st
centos7.2环境下安装php5.6.17。启动失败。 Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details.
2016-09-05 14:00:45 34223
原创 configure: error: wrong mysql library version or lib not found. Check config.log for more informatio
编译php,遇到错误configure: error: wrong mysql library version or lib not found. Check config.log for more information.解决方案:删除掉↓--with-mysqli=/usr/bin/mysql_config \即可
2016-09-05 11:25:40 4108
KeePass.exe
2020-03-28
Linux命令大全
2014-08-05
linux 服务器内存对不上
2021-12-21
TA创建的收藏夹 TA关注的收藏夹
TA关注的人