Building PHP for Magento

From OpenLiteSpeed Wiki

Revision as of 19:27, 12 November 2014 by Jackson (talk | contribs) (Building PHP for Magento)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.