> [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>

That's the old Sun PHP version, and will not work with your new MySQL 
installation.

> 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.

Looks like a path issue in the way PHP was built/where it's looking for the 
lib files? Is there a curl.so on the server at all?
_______________________________________________
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

Reply via email to