Figure-LAMP
LAMPIt is not easy to build a platform environment. The process is complicated. Let's take a look at the steps of the article!
3. Install PHP-5.2.9
Software acquisition: http://www.php.net/downloads.php
Before installing php, install:
Zlib-1.2.3 software acquisition: http://www.zlib.net
Tar xvfz zlib-1.2.3.tar.gz
Cd zlib-1.2.3.tar.gz
./Configure-prefix =/usr/local/zlib
Make
Make install
Freetype-2.3.9 software acquisition: http://sourceforge.net/projects/freetype/files/
Tar xvfz freetype-2.3.9.tar.gz
Cd freetype-2.3.9
./Configure-prefix =/usr/local/freetype2
Make
Make install
Libpng-1.2.38 software acquisition: http://sourceforge.net/projects/libpng/files/
Tar xvfz libpng-1.2.7.tar.gz
Cd libpng-1.2.38
./Configure-prefix =/usr/local/libpng
Make
Make install
Libxml2-2.7.3 software get:
Tar zxf libxml2-2.7.3.tar.gz
Cd libxml2-2.7.3.tar.gz
./Configure-prefix =/usr/local/libxml2
Make
Make install
Jpeg-7 software acquisition: http://www.ijg.org
Tar xvfz restart src.v7.tar.gz
Cd jpeg-7/
Mkdir-p/usr/local/limits 7
Mkdir-p/usr/local/partition 7/bin
Mkdir-p/usr/local/release 7/lib
Mkdir-p/usr/local/Partitions 7/include
Mkdir-p/usr/local/Example 7/man
Mkdir-p/usr/local/secrets 7/man/man1
./Configure-prefiex =/usr/local/defaults 7 \
-Enable-shared \
-Enable-static
Make
Make test
Make install
Gd-2.0.35 software acquisition: http://www.libgd.org/Downloads
Tar zxvf gd-2.0.35.tar.gz
Cd gd-2.0.35
Vim gd_png.c
Change # include "png. h":
# Include "/usr/local/libpng/include/png. h"
./Configure-prefix =/usr/local/gd2 \
-With-png =/usr/local/libpng \
-With-freetype =/usr/local/freetype2 \
-With-jpeg =/usr/local/defaults 7