zoukankan      html  css  js  c++  java
  • php安裝部署文檔

    1.yum install -y zlib libxml libjpeg freetype libpng gd curl libiconv zlib-devel libxml2-devel libjpeg-devel freetype-devel libpng-devel  curl-devel  

    2.yum install -y php-gd*

    3.tar zxvf libiconv-1.14.tar.gz

    4.cd libiconv-1.14

    5../configure --prefix=/usr/local/libiconv

    6.make && make install

    7. tar zxvf php-5.3.10.tar.gz

    8.cd php-5.3.10

    9. ./configure --prefix=/application/php5.3.10 --with-mysql=/usr/local/mysql --with-xmlrpc --with-openssl --with-zlib --with-freetype-dir --with-gd --with-jpeg-dir --with-png-dir --with-iconv=/usr/local/libiconv --enable-short-tags --enable-sockets --enable-zend-multibyte --enable-soap --enable-mbstring --enable-static --enable-gd-native-ttf --with-curl --with-xsl --enable-ftp --with-libxml-dir

    报错:configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

    解决:yum install libxslt-devel* -y

    1. make
    2. make install
    3. ln -s /application/php5.3.10 /application/php
    4. ls -l /application/php
    5. ll php.ini-*
    6. diff php.ini-development php.ini-production 开发和正式版比较
    7. /bin/cp php.ini-production /application/php/lib/php.ini
  • 相关阅读:
    森林 BZOJ 3123
    calc BZOJ 2655
    修路 BZOJ 4774
    无聊的计算器【数论多合一】
    矩阵乘法 BZOJ 2738
    K大数查询 BZOJ 3110
    发展城市 BZOJ 3700
    降雨量 BZOJ 1067
    chrome中showModalDialog解决方案
    MFC webbrowser读取文档的meta分析
  • 原文地址:https://www.cnblogs.com/guoxiaobao/p/9479297.html
Copyright © 2011-2022 走看看