WordPress Build PHP

From OpenLiteSpeed Wiki

Revision as of 21:58, 23 December 2015 by Rholda (talk | contribs) (Build PHP for WordPress: Changed Actions to Tools)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Build PHP for WordPress

Set up build environment:
yum install libxml2-devel gd-devel gcc gcc-c++ make patch
Build PHP (5.3.24, for example) with additional modules.
Go to the WebAdmin Console > Tools > Compile PHP
'--with-mysqli' '--with-zlib' '--with-gd' '--enable-shmop' '--enable-sockets' 
'--enable-sysvsem' '--enable-sysvshm' '--enable-mbstring' '--with-iconv' '--with-mysql' 
Note: '--with-libdir=lib64' is for x86_64 systems.