> > > [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
Yeah, but what's with the ".//" in front of the path ?? Is this similar to the problem discussed a week or so ago where you have to put an absolute path in the extension= line even though the docs say not to? i.e., extension=/usr/lib/apache/php-5.0.3/php/curl.so and change extension_dir = "./" to extension_dir = And from the PHP site: To use PHP's CURL support you must also compile PHP --with-curl[=DIR] where DIR is the location of the directory containing the lib and include directories. In the "include" directory there should be a folder named "curl" which should contain the easy.h and curl.h files. There should be a file named libcurl.a located in the "lib" directory. And this: http://curl.haxx.se/libcurl/php/install.html Does a phpinfo() reflect a "correct" --with-curl switch for the configure step? (Just guessing at all this since I've never used cURL myself) _______________________________________________ Cobaltfacts site list [email protected] http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts
