Edit report at http://bugs.php.net/bug.php?id=51856&edit=1
ID: 51856 Updated by: ahar...@php.net Reported by: 6uhere at gmail dot com Summary: php-cgi 5.3.2-1 pg_connect() error -Status: Open +Status: Bogus Type: Bug Package: CGI related Operating System: ubuntu 10.04 PHP Version: 5.3.2 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2010-05-19 07:50:04] 6uhere at gmail dot com Description: ------------ php-cgi 5.3.2-1 pg_connect() error PHP Version 5.3.2-1 PostgreSQL(libpq) Version 8.4.3 Multibyte character support enabled SSL support enabled Active Persistent Links 0 Active Links 0 Directive Local Value Master Value pgsql.allow_persistent On On pgsql.auto_reset_persistent Off Off pgsql.ignore_notice Off Off pgsql.log_notice Off Off pgsql.max_links Unlimited Unlimited pgsql.max_persistent Unlimited Unlimited PHP: <?php $conn=pg_connect('host=127.0.0.1 port=5432 dbname=fc user=fc password=li'); var_dump($conn); echo 'ok'; $rs=pg_exec('select * from yonghu'); $row=pg_fetch_array($rs); var_dump($row); liuge...@www:/etc/php5/cgi$ output: bool(false) okNULL Test script: --------------- php-cgi 5.3.2-1 pg_connect() error PHP Version 5.3.2-1 PostgreSQL(libpq) Version 8.4.3 Multibyte character support enabled SSL support enabled Active Persistent Links 0 Active Links 0 Directive Local Value Master Value pgsql.allow_persistent On On pgsql.auto_reset_persistent Off Off pgsql.ignore_notice Off Off pgsql.log_notice Off Off pgsql.max_links Unlimited Unlimited pgsql.max_persistent Unlimited Unlimited PHP: <?php $conn=pg_connect('host=127.0.0.1 port=5432 dbname=fc user=fc password=li'); var_dump($conn); echo 'ok'; $rs=pg_exec('select * from yonghu'); $row=pg_fetch_array($rs); var_dump($row); liuge...@www:/etc/php5/cgi$ output: bool(false) okNULL ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51856&edit=1