Re: Error in compiling PHP with PostgreSQL support - Mailing list pgsql-general

From Cosmos Tong
Subject Re: Error in compiling PHP with PostgreSQL support
Date
Msg-id 3BA68BBB.B06B80B2@NOSPAMyahoo.com
Whole thread Raw
In response to Re: Error in compiling PHP with PostgreSQL support  ("mike" <mike@tkosys.com>)
List 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

pgsql-general by date:

Previous
From: "Corn"
Date:
Subject: Re: Some Japanies charaters cannot be seen when using JDBC driver
Next
From: Cosmos Tong
Date:
Subject: Error in compiling PHP with PostgreSQL support