RE: [PHP-DB] PHP+Postgresql/Win32
| From: | Beau Lebens | Date: | Fri, 31 Aug 2001 03:51:30 +0000 |
| Subject: | RE: [PHP-DB] PHP+Postgresql/Win32 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12014@lists.php.net to get a copy of this message | ||
i have never tried this myself, but i think you might have to load the
postgres module in php separately
there is a line like
;extension=php_pgsql.dll
or something in you php.ini file, remove the ; (comment) to enable it, and
restart apache
HTH
beau
// -----Original Message-----
// From: Jancs [mailto:jancs@ktf.rtu.lv]
// Sent: Friday, 31 August 2001 5:47 AM
// To: php-db@lists.php.net
// Subject: [PHP-DB] PHP+Postgresql/Win32
//
//
// Hi there!
// I am trying to use such combination of software: Apache
// 1.3.20/PHP4.06/Postgres 7.1.3/Win2K. I met a serious problem - some
// postgres database admin script (php) says "Unable to
// connect to server".
//
// I think i did everything i could - apache is running without
// problems, php
// is configured to use pgsql.dll. Anyway - something is wrong
// with php, it
// seems. I am making such decision because i am getting such
// error message in
// both cases - when postgres is running (with running cyg-ipc
// service) on not.
//
// What makes it more difficult - i m trying to start it on the
// machine having
// no NIC and therefore using IP 127.0.0.1.
//
// Everything other works well. Netstat says that postgres is
// listening on
// 127.0.0.1:5432 More, i can use the pgadmin tool by
// GreatBridge (designed
// for nt/w2k, but using ODBC).
//
//
//
// Jancs
// Laps Cileecish
//
// http://jancs.ktf.rtu.lv
//
//
//
// --
// PHP Database Mailing List (http://www.php.net/)
// To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
// For additional commands, e-mail: php-db-help@lists.php.net
// To contact the list administrators, e-mail:
// php-list-admin@lists.php.net
//