Ubuntulinux install PHP5.3.0

Source: Internet
Author: User
The official version of 5.3.0 has been released for some time. I can see that PHP100 has a tutorial for installing php5.3 in windows. so I remember to write a tutorial on installing PHP5.3 in linux. I have just installed ubuntu on a machine and compiled the LAMP system. PHP5.3.0 is greatly changed. Php. I at first glance

The official version of 5.3.0 has been released for some time. I can see that PHP100 has a tutorial for installing php5.3 in windows. so I remember to write a tutorial on installing PHP5.3 in linux. I have just installed ubuntu on a machine and compiled the LAMP system. PHP 5.3.0 has been greatly changed. At first glance, the php. ini file has changed. It feels more comfortable than the previous version. The development environment and production environment configuration are differentiated. I will learn more about it later. It seems that many features have been enhanced. From phpinfo. Release a phpinfo () file just tested, and post the command record for this compilation.

Let's look at a bunch of compiled commands. If you need it, you can take it for reference.
 

sudo apt-get install build-essential gcc make autoconf automake1.9 libtool sudo apt-get install zlib1g-dev libdb-dev tar -jxf apr-1.3.5.tar.bz2 -C ../builds/tar -jxf apr-util-1.3.7.tar.bz2 -C ../builds/tar -zxf httpd-2.2.11.tar.gz -C ../builds/ cd ../builds/cd apr-1.3.5/./configure makesudo make install cd ../apr-util-1.3.7/./configure --with-apr=/usr/local/apr --with-berkeley-db=/usrmakesudo make install cd ../httpd-2.2.11/./configure --prefix=/usr/local/apache2 --enable-rewrite=shared --enable-dav=shared --enable-so --with-apr=/usr/local/apr/bin/apr-1-config --with-apr-util=/usr/local/apr/bin/apu-1-configmakesudo make install  sudo apt-get install libxml2 libxml2-dev tar -zxf neon-0.28.4.tar.gz -C ../builds/tar -zxf zlib-1.2.3.tar.gz -C ../builds/tar -zxf expat-2.0.1.tar.gz -C ../builds/tar -zxf subversion-1.6.2.tar.gz -C ../builds/mkdir ../builds/subversion-1.6.2/sqlite-amalgamationtar -zxf sqlite-amalgamation-3.6.13.tar.gzcp sqlite-3.6.13/sqlite3.c ../builds/subversion-1.6.2/sqlite-amalgamation/rm -rf sqlite-3.6.13 cd ../builds/neon-0.28.4/.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.