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
plugins:phpswitcher:fcgid:php5.2 [2014/04/24 01:27]
nuxwin
plugins:phpswitcher:fcgid:php5.2 [2014/04/24 02:24] (current)
nuxwin [Configuration]
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 40: Line 40:
  
 =====Configuration===== =====Configuration=====
- 
-<WRAP center round todo 60%> 
-**Add missing configuration options for PDO (MySQL)** 
-</​WRAP>​ 
  
 ====For 32 bits operating systems==== ====For 32 bits operating systems====
Line 50: Line 46:
   --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 73:
   --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 82:
   --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 94:
 ====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 124:
   --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 133:
   --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 141:
   --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/attic/plugins/phpswitcher/fcgid/php5.2.1398302865.txt.gz · Last modified: 2014/04/24 01:27 by nuxwin