PHP source Code Compilation installation
Compile without parameters installation
Command:
./configure--prefix=/usr/local/php--WITH-PHP-FPM
Depend on:
* LIBXML2
Available modules:
[PHP Modules]
Core
CType
Date
Dom
FileInfo
Filter
Hash
Iconv
Json
Libxml
Pcre
Pdo
Pdo_sqlite
Phar
Posix
Reflection
Session
SimpleXML
Spl
Sqlite3
Standard
Tokenizer
Xml
XmlReader
XmlWriter
Installation with parameter compilation
Command:
./configure--prefix=/usr/local/php--with-fpm--with-curl=/usr/local/libcurl--with-gd--with-mysqli--with-pear-- Enable-sockets--with-zlib-dir=/usr/local/zlib--with-png-dir=/usr/local/libpng--with-jpeg-dir=/usr/local/ Libjpeg--with-mcrypt=/usr/local/libmcrypt--with-pdo-mysql
Depend on:
* LIBXML2
* libpng
* Libjpeg
* Libmcrypt
* Zlib
* Libcurl
Available modules:
[PHP Modules]
Core
CType
Curl
Date
Dom
FileInfo
Filter
Gd
Hash
Iconv
Json
Libxml
MCrypt
Mysqli
Mysqlnd
Pcre
Pdo
Pdomysql
Pdosqlite
Phar
Posix
Reflection
Session
SimpleXML
Sockets
Spl
Sqlite3
Standard
Tokenizer
Xml
XmlReader
XmlWriter
Zlib
Compiling and installing memcached
Depend on:
* libmemcached
* Zlib
* autoconf
Command:
Phpize
./configure--with-php-config=/usr/local/php/bin/php-config--with-zlib-dir=/usr/local/zlib-- With-libmemcached-dir=/usr/local/libmemcached--DISABLE-MEMCACHED-SASL
Make && make install