Actions

Help

Difference between revisions of "Building PHP for Drupal"

From OpenLiteSpeed Wiki

(Created page with "=== Building PHP for Drupal === : Setup build environment: <blockquote><code>yum install mysql mysql-server libxml2-devel gd-devel gcc gcc-c++ make patch</code></blockquote>...")
 
 
Line 2: Line 2:
 
: Setup build environment:
 
: Setup build environment:
  
<blockquote><code>yum install mysql mysql-server libxml2-devel gd-devel gcc gcc-c++ make patch</code></blockquote>
+
<blockquote><code>yum install libxml2-devel gd-devel gcc gcc-c++ make patch</code></blockquote>
 
: Build PHP (5.3.26, for example) with additional modules.  
 
: Build PHP (5.3.26, for example) with additional modules.  
 
: Go to the WebAdmin Console > Actions > Compile PHP
 
: Go to the WebAdmin Console > Actions > Compile PHP

Latest revision as of 18:55, 13 November 2014

Building PHP for Drupal

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' '--enable-ftp' '--enable-zip'
Note: '--with-libdir=lib64' is for x86_64 systems.
Graceful restart to apply changes. (Actions > Graceful Restart)