note 54921 added to features.commandline
| From: | bob at somewhere | Date: | Tue, 19 Jul 2005 17:17:04 +0000 |
| Subject: | note 54921 added to features.commandline | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-92179@lists.php.net to get a copy of this message | ||
# php -v
PHP 4.3.11 (cgi) (built: Jul 19 2005 09:59:57)
and only have one php.ini file at /usr/local/lib/php/
My question is the php script from commandline gives "PHP Fatal error: Call to undefined
function: pg_connect()"
But all my webscripts connect to postgres with no problems.....only commandline scripts dont work
any help is appreciated.
----
Manual Page -- http://www.php.net/manual/en/features.commandline.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54921
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54921&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54921&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54921&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54921&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54921&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54921&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54921&report=yes
Search -- http://master.php.net/manage/user-notes.php