Actions

Help

Building PHP for Magento

From OpenLiteSpeed Wiki

Building PHP for Magento

Setup build environment:
yum install curl-devel libmcrypt-devel
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' '--with-mcrypt' '--with-curl' '--with-pdo' '--with-pdo-mysql'
Note: '--with-libdir=lib64' is for x86_64 systems.