User Tools

Site Tools


plugins:phpswitcher:fcgid:php5.2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
plugins:phpswitcher:fcgid:php5.2 [2014/04/24 01:27]
nuxwin
plugins:phpswitcher:fcgid:php5.2 [2014/04/24 02:24]
nuxwin [For 64 bits operating systems]
Line 15: Line 15:
   # apt-get build-dep php5   # apt-get build-dep php5
   # apt-get install libfcgi-dev libfcgi0ldbl libjpeg62-dbg libmcrypt-dev \   # apt-get install libfcgi-dev libfcgi0ldbl libjpeg62-dbg libmcrypt-dev \
-  ​libssl-dev libc-client2007e libc-client2007e-dev libpq5+  libssl-dev libc-client2007e libc-client2007e-dev libpq5
  
 ====Needed for php-imap module==== ====Needed for php-imap module====
Line 21: Line 21:
   ln -s /​usr/​lib/​libc-client.a /​usr/​lib/​x86_64-linux-gnu/​libc-client.a   ln -s /​usr/​lib/​libc-client.a /​usr/​lib/​x86_64-linux-gnu/​libc-client.a
   ​   ​
-  # For i368 architectures+  # For i386 architectures
   ln -s /​usr/​lib/​libc-client.a /​usr/​lib/​i386-linux-gnu/​libc-client.a   ln -s /​usr/​lib/​libc-client.a /​usr/​lib/​i386-linux-gnu/​libc-client.a
  
Line 50: Line 50:
   --prefix=/​opt/​php-fcgid/​5.2 \   --prefix=/​opt/​php-fcgid/​5.2 \
   --with-config-file-scan-dir=/​opt/​php-fcgid/​5.2/​conf.d \   --with-config-file-scan-dir=/​opt/​php-fcgid/​5.2/​conf.d \
-  --with-pdo-pgsql \ 
   --with-zlib-dir \   --with-zlib-dir \
   --with-freetype-dir \   --with-freetype-dir \
Line 78: Line 77:
   --with-mysql \   --with-mysql \
   --with-mysql-sock=/​var/​run/​mysqld/​mysqld.sock \   --with-mysql-sock=/​var/​run/​mysqld/​mysqld.sock \
 +  --with-mysqli=/​usr/​bin/​mysql_config \
 +  --with-pdo-mysql \
 +  --with-pdo-pgsql \
   --with-jpeg-dir=/​usr \   --with-jpeg-dir=/​usr \
   --with-png-dir=/​usr \   --with-png-dir=/​usr \
Line 84: Line 86:
   --enable-ftp \   --enable-ftp \
   --with-kerberos \   --with-kerberos \
-  --with-mysqli=/​usr/​bin/​mysql_config \ 
   --with-gettext \   --with-gettext \
   --with-xmlrpc \   --with-xmlrpc \
Line 97: Line 98:
 ====For 64 bits operating systems==== ====For 64 bits operating systems====
  
-  # ./configure+  # ./​configure ​\
   --prefix=/​opt/​php-fcgid/​5.2 \   --prefix=/​opt/​php-fcgid/​5.2 \
   --with-config-file-scan-dir=/​opt/​php-fcgid/​5.2/​conf.d \   --with-config-file-scan-dir=/​opt/​php-fcgid/​5.2/​conf.d \
-  --with-pdo-pgsql \ 
   --with-zlib-dir \   --with-zlib-dir \
   --with-freetype-dir \   --with-freetype-dir \
Line 128: Line 128:
   --with-mysql \   --with-mysql \
   --with-mysql-sock=/​var/​run/​mysqld/​mysqld.sock \   --with-mysql-sock=/​var/​run/​mysqld/​mysqld.sock \
 +  --with-mysqli=/​usr/​bin/​mysql_config \
 +  --with-pdo-mysql \
 +  --with-pdo-pgsql \
   --with-jpeg-dir=/​usr \   --with-jpeg-dir=/​usr \
   --with-png-dir=/​usr \   --with-png-dir=/​usr \
Line 134: Line 137:
   --enable-ftp \   --enable-ftp \
   --with-kerberos \   --with-kerberos \
-  --with-mysqli=/​usr/​bin/​mysql_config \ 
   --with-gettext \   --with-gettext \
   --with-xmlrpc \   --with-xmlrpc \
Line 143: Line 145:
   --with-imap \   --with-imap \
   --with-imap-ssl \   --with-imap-ssl \
-  --with-libdir=/​lib/​x86_64-linux-gnu/+  --with-libdir=/​lib/​x86_64-linux-gnu
  
 **Note:** If you need more modules, you must tune the configuration options and install needed libraries. **Note:** If you need more modules, you must tune the configuration options and install needed libraries.
/var/www/virtual/i-mscp.net/wiki/htdocs/data/pages/plugins/phpswitcher/fcgid/php5.2.txt · Last modified: 2014/04/24 02:24 by nuxwin