Actions

Help

Building PHP for Mediawiki

From OpenLiteSpeed Wiki

Building PHP for Mediawiki

Setup build environment:
yum install libxml2-devel gd-devel gcc gcc-c++ make patch
Build PHP (5.3.26, 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-magic-quotes' '--enable-mbstring' '--with-iconv' '--with-mysql' '--with-libdir=lib64'
Note: '--with-libdir=lib64' is for x86_64 systems.
Graceful restart to apply changes. (Actions > Graceful Restart)