php --> postgresql
Posted: Mon Mar 10, 2003 4:51 pm
I get the following error when calling pg_connect
What do I have to do?
do i have to specify smth like
"--with-pgsql=shared,/path/to/postgres/home" in the configure command of php?
does this require recompiling of php ?
though phpinfo says in 'Configure command'Fatal error: Call to undefined function: pg_connect() in /var/www/html/page/pass.php on line 23
and in Apache/Loaded Modules'--with-pgsql=shared'
mod_php4, mod_setenvif, mod_so, mod_headers, mod_expires, mod_auth_db, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_log_referer, mod_log_agent, mod_log_config, mod_env, mod_vhost_alias, http_core
What do I have to do?
do i have to specify smth like
"--with-pgsql=shared,/path/to/postgres/home" in the configure command of php?
does this require recompiling of php ?