| Subcribe via RSS

ubuntu下安装php出现的错误提示及解决

11月 20th, 2008 | No Comments | Posted in 空间制作

#sudo apt-get install build-essential
不然会出现 checking for C compiler default output file name… configure: error: C compiler cannot create executables
#sudo apt-get install zlib1g-dev
不然 会出现 checking for zlib location… not found
checking whether to enable mod_deflate… configure: error: mod_deflate has been requested but can not be built due to prerequisite failures

error: xml2-config not found. Please check your libxml2 installation. 出现这个时 sudo apt-get install libxml2-dev

error: Cannot find OpenSSL’s 出现这个时 sudo apt-get install libssl-dev

error: Please reinstall the libcurl distribution -easy.h should be in /include/curl/ 出现这个时 sudo apt-get install libcurl4-openssl-dev

checking for db4 major version…configure:error:Header contains different version 出现这个时 sudo apt-get install libdb4.6-dev

error: libjpeg.(a|so) not found. 出现这个时 sudo apt-get install libjpeg62-dev

error: libpng.(a|so) not found. 出现这个时 sudo apt-get install libpng12-dev

error: freetype.h not found. 出现这个时 sudo apt-get install libfreetype6-dev

error: Unable to find gd.h anywhere 出现这个时 sudo apt-get install libgd2-xpm libgd-tools libgd2-xpm-dev

Tags: , ,

ubuntu下配置nginx+php+mysql+zend

06月 5th, 2008 | No Comments | Posted in linux

导出新系统ubuntu server 8.04安装history.

    1  cd /home/
    2  wget http://192.168.1.100/nginx-php.tar.gz
    3  apt-get install libxml2
    4  apt-get install xml2-config
    5  apt-get install libxml-dev
    6  cp /etc/apt/sources.list /etc/apt/sources.list.bak
    7  nano /etc/apt/sources.list
    8  apt-get update
    9  apt-get install libxml-dev
   10  apt-get install xml2
   11  apt-get install zlib1g-dev
   12  apt-get install libz-dev
   13  apt-get install zlib1g-dev
   14  apt-get install libxml2-dev
   15  apt-get install curl
   16  apt-get install curl-dev
   17  apt-get install libcurl
   18  apt-get install curl
   19  apt-get install libjpeg
   20  apt-get install libjpeg-dev More »

Tags: ,