Re: Error in compiling PHP with PostgreSQL support

From: Cosmos Tong <cosmossyt(at)NOSPAMyahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Error in compiling PHP with PostgreSQL support
Date: 2001-09-17 23:48:11
Message-ID: 3BA68BBB.B06B80B2@NOSPAMyahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dear Mike,

I am using SuSE 7.2. I compile Postgres, PHP, Apache, mod_ssl,
mod_perl, MySQL, Imapd and Curl from source. The PHP is the last item I
compiled.

The following is the options I used to compile Postgres:

--sysconfdir=/usr/local/etc
--enable-syslog
--enable-odbc
--with-maxbackends=128
--with-openssl=/usr
--with-perl
--enable-locale
--enable-recode
--enable-multibyte
--enable-unicode-conversion
--enable-depend
--without-tcl

And the following is the options I used to compile PHP

--with-apxs=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/etc
--with-jpeg-dir=/usr
--with-xpm-dir=/usr/X11R6
--with-gd
--with-openssl=/usr
--with-mysql=/usr/local/mysql
--with-pgsql=/usr/local/pgsql
--with-recode
--with-gdbm
--with-curl
--with-imap
--with-imap-ssl
--with-gettext
--enable-dbase
--enable-memory-limit
--enable-sockets
--enable-inline-optimization
--with-trans-sid
--with-pdflib
--enable-sysvshm
--enable-sysvsem
--with-mcrypt
--with-ldap

Thanks very much for your help.

Regards
Cosmos

mike wrote:
>
> Hi Cosmos,
>
> How did you compile PHP? Was your PHP come with your Linux/Unix software
> like Red Hat or did you install PHP from scratch?
> Could you tell me each steps that you did to compile PHP? Did you configure
> it with apache and enable-track-vars?
> I had the same problem before and I solved it. Tell me also what kind of
> Operating System that you use.
>
> Mike

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alex Pilosov 2001-09-18 03:01:24 Re: Practical Cursors
Previous Message Martijn van Oosterhout 2001-09-17 23:25:03 Re: What is faster?