zoukankan      html  css  js  c++  java
  • php5.3升级脚本

    在lanmp/wdcp/wdOS的当前版本中,默认的php都是用到5.2.17的版本
    如需要升级到php5.3的,可使用如下脚本升级
    (注:此升级无安全漏洞等原因,只为某些追求高版本或应用需求需要高版本,对于无这个必要的同学,可不用升级)

    wget http://down.wdlinux.cn/in/php_up53.sh
    sh php_up53.sh

    看到"php update is OK"提示
    表示,顺利完成

    如有错误或不行,将问题反馈上来
    备注:
    该升级只是升级PHP的版本,相应的zend,eaccelerator没有升级
    且zend opt从php5.3开始已不再支持,也就是说有用到zend opt的,就不要升级了,否则只会瞎折腾
    不过可以使用Zend Guard Loader
    安装
    wget http://down.wdlinux.cn/in/ZendGL_ins.sh
    sh ZendGL_ins.sh

    eaccelerator也只要最新的0.9.6.1版本
    安装
    wget http://down.wdlinux.cn/in/eac0961_ins.sh
    sh eac0961_ins.sh

    解决阿里云安装PHP5.3上遇到: virtual memory exhausted: Cannot allocate memory

    修改php_up53.sh

    make clean
    ./configure --prefix=/www/wdlinux/apache_php-${Ver} --with-config-file-path=/www/wdlinux/apache_php-${Ver}/etc --with-mysql=/www/wdlinux/mysql --with-iconv=/usr --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-inline-optimization --with-curl --enable-mbregex --enable-mbstring --with-mcrypt=/usr --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-ftp --enable-sockets --enable-zip --with-apxs2=/www/wdlinux/apache/bin/apxs --disable-fileinfo

  • 相关阅读:
    csp-s模拟103
    csp-s模拟102
    csp-s模拟101
    csp-s模拟100
    csp-s模拟99
    csp-s模拟98
    csp-s模拟97
    csp-s模拟96
    csp-s模拟95
    csp-s模拟94
  • 原文地址:https://www.cnblogs.com/meetrice/p/3545440.html
Copyright © 2011-2022 走看看