Re: PHP3 and mysql
it said:
wendy:/etc/php3/apache# apt-get install php3-mysql
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, php3-mysql is already the newest version
0 packages upgraded, 0 newly installed, 0 to remove and 56 not upgraded.
Any idea?
> >
> > Fatal error: Call to unsupported or undefined function mysql_connect()
in
> >/var/www/template.inc on line 122
> > (I can connect to the mysql server locally.)
> >
> >Could anyone tell me how to fix it? Thank in advanced!
> >
>
> #apt-get install php3-mysql
>
> ususally fixes this one for me.
>
Reply to: