Modul PGSQL in PHP hinzufügen

Support Wissensdatenbank

Du bist hier:

Modul PGSQL in PHP hinzufügen

Um PGSQL in PHP zu aktivieren muss zuerst folgendes Paket installiert werden:

apt-get install libpq-dev

 

Anschliessend PHP kompilieren:

cd /usr/local/src/php-5.3.27

./configure –prefix=/usr/local/php5_3 –with-pear=/usr/local/php5_3/pear –datadir=/usr/local/php5_3 –with-config-file-scan-dir=/usr/local/php5_3/conf.d –disable-debug –with-regex=php –disable-rpath –disable-static –with-pic –with-layout=GNU –enable-intl –enable-calendar –enable-sysvsem –enable-sysvshm –enable-sysvmsg –enable-bcmath –with-bz2 –enable-ctype –with-mysqli –with-jpeg-dir=/usr –with-db4 –with-iconv –enable-exif –enable-ftp –with-gettext –enable-mbstring –with-pcre-regex=/usr –enable-shmop –enable-sockets –enable-wddx –with-xmlrpc –with-zlib –with-pgsql –with-kerberos –with-openssl=/usr –with-exec-dir=/usr/share/php5_3/lib/libexec –with-mysql –without-sybase-ct –with-gd=yes –with-mcrypt –with-snmp –with-zlib –enable-zip –with-curl –with-imap –with-imap-ssl –enable-mbregex –with-mhash –enable-dba –enable-soap –enable-magic-quotes –with-pspell –with-xsl –enable-gd-native-ttf –with-freetype-dir=/usr –enable-gd-native-ttf –with-pdo-mysql

make

make test

make install

Related Post