On Wednesday 13 March 2002 04:50, mailing list wrote: > It compiled without any errors using -with-mysql=/usr > > However I still receive an error while trying to connect to my mysql > database: > > Fatal error: Call to undefined function: mysql_connect() in > /www/meyercousa/pages/view_data.php on line 13 > > I have pasted my configuration from phpinfo(). Hope this helps
[snip] > '--with-ldap=shared' '--with-mysql=shared' '--with-pgsql=shared' > '--with-unixODBC=shared' '--with-apxs=/usr/sbin/apxs' I'm confused as to what exactly you have done here. You say "it compiled without any errors using -with-mysql=/usr" But then your config from phpinfo() shows: --with-mysql=shared My advice is to do a clean installation: delete your current php src directory, extract the php tarball into a new directory then run configure make stop webserver make install restart webserver -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* My only love sprung from my only hate! Too early seen unknown, and known too late! -- William Shakespeare, "Romeo and Juliet" */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php