Re: Trying to use PGSql with PHP
От | Frank Joerdens |
---|---|
Тема | Re: Trying to use PGSql with PHP |
Дата | |
Msg-id | 20001008085652.B14723@rakete.joerdens.de обсуждение исходный текст |
Ответ на | Trying to use PGSql with PHP (John Tsombakos <johnts@ziplink.net>) |
Список | pgsql-general |
How did you install PHP & Apache? Did you configure & compile the sources or get the rpm's from somewhere? If you're compiling PHP from the sources, you need to configure PHP with the --with-pgsql switch. You can check whether this is the problem (i.e. missing pgsql support) by making a page that just contains <? phpinfo(); ?> which, if opened in a browser, should show all the options your PHP supports. Also, in the Support section of the PHP homepage at www.php.net, you can subscribe to a list that is devoted entirely to PHP installation issues. Regards, Frank On Sun, Oct 08, 2000 at 01:20:21AM -0400, John Tsombakos wrote: > I'm trying to setup PostgreSQL on Redhat Linux 6.2 and access it with PHP. I > have Apache installed and working, PHP installed and working, and PostgreSQL > installed and working. However, I'm trying to get PHP to talk to the > PostgreSQL system. I believe I need to install php-pgsql-3.0.15-2.rpm, but > when I try, I get an error saying the that package depends on > 'libpq.so.2.0'. I have PostgreSQL v7.0.2 (all of the RPMS's) and PHP 3.0.15 > installed. > > What am I missing? I'm a bit of a newbie with Linux, so any help will be > grateful! > > Thanks, > -------------------------------- > John Tsombakos > johnts@ziplink.net <*> -- frank joerdens joerdens new media urbanstr. 116 10967 berlin germany e: frank@joerdens.de t: +49 (0)30 69597650 f: +49 (0)30 7864046 h: http://www.joerdens.de pgp public key: http://www.joerdens.de/pgp/frank_joerdens.asc
В списке pgsql-general по дате отправления: