摘要:
#!/bin/sh ####安装ncurses-5.9.tar.gz cd /usr/local/src/ tar -zxvf ncurses-5.9.tar.gz cd ncurses-5.9 ./configure --with-shared --without-debug --without-ada --enable-overwrite make #or make test #测试编... 阅读全文
摘要:
#!/bin/sh ####安装curl-7.44.0.tar.gz cd /usr/local/src/ tar -zxvf curl-7.44.0.tar.gz cd curl-7.44.0 ./configure --prefix=/usr/local/curl --enable-shared make test #or make test #测试编译 make install #开... 阅读全文
摘要:
#!/bin/sh ####安装环境centos5.6 32位 ####准备工作 ####检测yum源 yum list php ####检测gcc-c++ rpm -qa | grep gcc* ####安装redhat-lsb 查看系统内核 lsb_release -a ####需要安装的rpm包 ####cmake-2.8.8.tar.gz libxml2-2.6... 阅读全文
摘要:
说明 PHP 5.5+版本以上的,可以使用PHP自带的opcache开启性能加速(默认是关闭的)。对于PHP 5.5以下版本的,需要使用APC加速,这里不说明,可以自行上网搜索PHP APC加速的方法。 PHP开启opcache方法 1、打开php.ini文件 2、找到:[opcache],设置为: 阅读全文
摘要:
大概意思就是说找不到 opt/php7/etc/php-fpm.d/目录下的配置文件。 进入里面的目录,会有一个www.conf.default文件。执行下面命名复制一份 复制好之后,编辑该文件 定位到里面文件的 user = nobody 和 group = nobody ,调整为 www-dat 阅读全文