Actions

Help

WordPress Build PHP

From OpenLiteSpeed Wiki

Revision as of 22:34, 11 November 2014 by Marmstrong (talk | contribs) (Created page with "==== Build PHP for wordpress==== : Setup build environment: <blockquote><code>yum install mysql mysql-devel mysql-server libxml2-devel gd-devel gcc gcc-c++ make patch</code><...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Build PHP for wordpress

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