To install the extension kit:
To see if the installation was successful:
To do a soft connection:
Installing Libxml
Install Python First:
To do a soft connection:
Same installation
Libmcrypt and Mhash
Make && make install
Make && make install
Installing MCrypt
Install libpng:
Make && make install
Installing Libiconv
Make && make install
Installing FreeType
Installing autoconf
Installing jpeg-9a
Installing LIBGD
Gettxt
Installing Gettxt
Install PHP
./configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/etc--with-apxs2=/usr/local/httpd/bin/ Apxs--with-openssl--with-mysql=/usr/local/mysql--with-pdo-mysql=/usr/local/mysql--with-mysqli=/usr/local/mysql /bin/mysql_config--with-zlib-dir=/usr/local/zlib--with-libxml-dir=/usr/local/libxml2--with-mhash--with-png-dir =/usr/local/libpng--with-iconv-dir=/usr/local/libiconv--with-freetype-dir=/usr/local/freetype--with-jpeg-dir=/ Usr/local/jpeg--with-gd=/usr/local/libgd--enable-mbstring=all--enable-sockets--enable-libxml--enable-soap-- Enable-xml--enable-bcmath--enable-shmop--enable-sysvsem--enable-mbregex--enable-gd-native-ttf--enable-pcntl-- With-xmlrpc--enable-zip--enable-phar--without-pear--enable-ftp--enable-maintainer-zts--disable-rpath-- With-gettext--enable-opcache=no--with-xpm-dir=/usr/lib64
Make && make install
There was an error:
Make a soft connection again
Re./configure no error:
Installation succeeded:
For PHP configuration:
To modify a character set:
Integration:
Vim/usr/local/httpd/conf/httpd.conf
Restart httpd, new test PHP file
Inspection:
The lamp environment to build success!