-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 27 August 2004 08:25, Michael Satterwhite wrote:
I'd like to blame Google, but that wouldn't be fair. I kept going through the pages that referenced this error and found the (obvious) that I hadn't enabled it in php.ini. Sorry about the previous post. - ---Michael > For development purposes, I have Apache2 running on a local machine. MySQL > is running on one of my main machines. The development machine is running > Debian Sarge and PHP4. PHP4 is running fine; pages that don't use database > work perfectly. > > I used apt-get to install php4-mysql. I didn't see any errors during the > install, and I have verified that it is installed. > > When I try to open a web page that has mysql_connect, I get an error > message because I used an undefined function mysql_connect. The same web > page works fine if run on the production machine. > > I've done web searches, but the only real advice I've found is to recompile > php. If that's what's needed, I'll do it, but I'd rather stay within the > structures of Debian. > > Can someone queue me in on what I missed on the MySQL capability install? > > tia > ---Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBLzn/jeziQOokQnARAuj5AJ9+JqGYFaiddM5Zq3M45gejVCUsOACghgwn DO5mxl7yIwu16cyyDxLJbTE= =pYus -----END PGP SIGNATURE-----