On Wednesday 02 June 2004 01:31, alantodd wrote: > I have php with pg and mysql commands working on the web site all scripts > work. When I call them from the cmdline I get a different story. Call to > undefined function: pg_connect() but run the same script from the web and > it works no problem.. Anyone have some insight why this is happening
/path/to/php -i | less to see that your php cli binary was (most likely) not compiled with the necessary postgresql support. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* The average individual's position in any hierarchy is a lot like pulling a dogsled -- there's no real change of scenery except for the lead dog. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php