随笔分类 -  PHP

PHP
PHP编译安装报错:configure: error: mcrypt.h not found. Please reinstall libmcrypt
摘要:我是在CentOS6.5安装php5.5.28这个版本,PHP编译代码如下: ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql -- 阅读全文

posted @ 2019-03-10 01:16 天涯飞鸿 阅读(1848) 评论(0) 推荐(0)

php7编译安装-php-fpm.service
摘要:[Unit]Description=php-fpm - Hypertext PreprocessorAfter=network.target remote-fs.target nss-lookup.target [Service]Type=simplePIDFile=/usr/local/php7/ 阅读全文

posted @ 2018-12-21 01:09 天涯飞鸿 阅读(1401) 评论(0) 推荐(0)

php7-编译安装参数
摘要:./configure \--with-fpm-user=www \--with-fpm-group=www \--prefix=/usr/local/php7 \--with-config-file-path=/usr/local/php7/etc \--with-mysql-sock \--wi 阅读全文

posted @ 2018-12-20 11:58 天涯飞鸿 阅读(755) 评论(0) 推荐(0)

阿里云-centos7.2-LNMP-编译安装-记录
摘要:1. 需要使用yum源自动安装的软件: yum -y install autoconf bzip2 bzip2-devel curl curl-devel e2fsprogs e2fsprogs-devel zlib* zlib-devel openssl openssl-devel pcre-de 阅读全文

posted @ 2017-08-13 21:49 天涯飞鸿 阅读(208) 评论(0) 推荐(0)

upstream timed out (110: Connection timed out) while reading response header from upstream
摘要:Nginx报错日志有如下内容: upstream timed out (110: Connection timed out) while reading response header from upstream.. 服务器开发环境: SLES12sp2 + Nginx + PHP-FPM + Ma 阅读全文

posted @ 2017-07-05 09:44 天涯飞鸿 阅读(7708) 评论(0) 推荐(1)

php-fpm高并发配置[1000+]
摘要:Dell R430 2个物理CPU,每个CPU有6个内核; www.conf: pm = dynamic pm.max_children = 120 pm.start_servers = 8 pm.min_spare_servers = 6 pm.max_spare_servers = 12 pm. 阅读全文

posted @ 2017-06-21 15:16 天涯飞鸿 阅读(1859) 评论(0) 推荐(0)

导航