Обсуждение: Re: Error in compiling PHP with PostgreSQL support

Поиск
Список
Период
Сортировка

Re: Error in compiling PHP with PostgreSQL support

От
"mike"
Дата:
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




Re: Error in compiling PHP with PostgreSQL support

От
Cosmos Tong
Дата:
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