Обсуждение: PHP4.0.4pl1 and PostgreSQL 7.1beta4

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

PHP4.0.4pl1 and PostgreSQL 7.1beta4

От
Uro¹ Gruber
Дата:
Hi!

I want to install postgresql under php and when i make in php in get
this error

In file included from php_pgsql.h:33,
                 from pgsql.c:29:
/usr/local/pgsql/include/libpq-fe.h:29: openssl/ssl.h: No such file or directory

what can i do?


--
by
 Uroš                          mailto:uros@sir-mag.com



Re: PHP4.0.4pl1 and PostgreSQL 7.1beta4

От
Chris
Дата:
Hey,

>I want to install postgresql under php and when i make in php in get
>this error
>
>In file included from php_pgsql.h:33,
>                  from pgsql.c:29:
>/usr/local/pgsql/include/libpq-fe.h:29: openssl/ssl.h: No such file or
>directory
>
>what can i do?

I had to manually copy the files from src/include/ to /usr/local/pgsql/include
I *think* I read in the archives that there is a new procedure to copy all
of the include files across (can't find it at the moment, sorry).

HTH

------------------------
Chris Smith
http://www.squiz.net


Re: PHP4.0.4pl1 and PostgreSQL 7.1beta4

От
"Brent R. Matzelle"
Дата:
Find where that include file is locate on your system (mine is
located in /usr/include/pgsql on RedHat 7.0) by running 'locate
libpq-fe.h'.  Then you will need to edit the Makefile to point
to your system's Postgres include directory.

Brent

--- Uro� Gruber <uros@sir-mag.com> wrote:
> Hi!
>
> I want to install postgresql under php and when i make in php
> in get
> this error
>
> In file included from php_pgsql.h:33,
>                  from pgsql.c:29:
> /usr/local/pgsql/include/libpq-fe.h:29: openssl/ssl.h: No such
> file or directory
>
> what can i do?
>
>
> --
> by
>  Uro�                          mailto:uros@sir-mag.com
>
>


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/