On Mon, 27 Dec 2004, Bruce Timberlake wrote:

> > > > > The odd thing is the database works fine when used with php through
> > > > > http and https, just in shell scripts that are run from the command
> > > > > line.
>
> You built a new CLI PHP and ensured the old (native Sun) one was removed? If
> you do
>
>   which php

[root /root]# which php
/usr/bin/php
If I run this one
[root /root]#  php fix_attributes.php
X-Powered-By: PHP/4.0.6
Content-type: text/html
<br>
<b>Fatal error</b>:  Call to undefined function:  mysql_connect() in
<b>fix_attributes.php</b> on line <b>8</b><br>

> there's only one, or the CLI PHP invocation is specifying the correct
> location??

If I run this one ========
[root /root]#  /usr/bin/php5/php fix_attributes.php
PHP Warning:  PHP Startup: Unable to load dynamic library
'.//usr/lib/apache/php-5.0.3/php/curl.so' -
.//usr/lib/apache/php-5.0.3/php/curl.so: cannot open shared object file:
No such file or directory in Unknown on line 0
Could not open input file: fix_attirbutes.php.

Gerald
--
http://frontstreetnetworks.com | http://raqware.com
  Front Street Networks LLC, 229 Front Street, Ste.#C
  New Haven, CT 06513-3203 | phone: +1-203-785-0699
_______________________________________________
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

Reply via email to