On Mon, 27 Dec 2004, Bruce Timberlake wrote: > > [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?
/usr/lib/apache/php-5.0.3/php/curl.so /usr/lib/libcurl.so.3.0.0 /usr/lib/libcurl.so.3 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
