Serendipity install reports pg_escape_string missing

Having trouble installing serendipity?
Post Reply
skwirl42

Serendipity install reports pg_escape_string missing

Post 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
skwirl42

Fixed

Post 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.
Post Reply