If the new directory is now called something like
session_pgsql. You should name
it to session_pgsql (except you only want
to build it as self-contained php-module)
run ./buildconf in php4
run configure with
--with-session-pgsql (and your other
options)