Page 1 of 1

Serendipity install reports pg_escape_string missing

Posted: Sat Apr 23, 2005 3:32 pm
by skwirl42
I'm using PHP 4.3.11, serendipity 0.8 and PostgreSQL 8.0.1 on Mac OS X 10.3.9. Do I need to use an older version of PostgreSQL, or what? Why would pg_escape_string be missing?

Here's the exact error, from the initialization page:

Code: Select all

Fatal error: Call to undefined function: pg_escape_string() in /Library/WebServer/DotNetDocuments/include/db/postgres.inc.php on line 40
Thanks,
James

Fixed

Posted: Sat Apr 23, 2005 7:51 pm
by skwirl42
After a bit of googling, I figured out how to fix it, but I don't know why PHP didn't pick that function up, since ./configure worked fine.