Add module PGSQL in PHP

Support Wissensdatenbank

Du bist hier:

Add module PGSQL in PHP

To enable PGSQL in PHP you must first install the following package:

apt-get install libpq-dev


Then compile PHP:

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 test

make install

War dieser Artikel hilfreich?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
Wie können wir diesen Artikel verbessern?
Please submit the reason for your vote so that we can improve the article.
Brauchst du Hilfe?
Related Post