|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-05-15 20:50 UTC] zeev
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 18:00:02 2025 UTC |
After about 15 days of uptime, postgres simply stopped working, and php gaver this error message: > Call to unsupported or undefined function pg_connect() > in ... Posgres remained perfectly usable from other programs. Killing and restarting the HTTPD server solved the problem. My configuration: --with-apache=/home/saverio/vurt/tgz/apache_1.3b3 --with-pgsql=/o pt/postgres And the obligatory script that caused the problem: $conn = pg_Connect("localhost", "5432", "", "", "postgres"); if (!$conn) { echo "An error occured: database down\n"; exit; } I haven't been able to reproduce the bug so far.. anybody had similar problems?