[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP4 - Apache2 - MySQL What am I missing



Hi,

do you have installed mysql libraries ???

Marcos Carneiro da Rocha

On Fri, 2004-08-27 at 10:25, Michael Satterwhite wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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)
> 
> iD8DBQFBLzZWjeziQOokQnARAkMZAJ96jOQrV+Us8P7wERvo6goLjWK3tgCfapvN
> bCc6f/gktKIWZpvdd7PPyD0=
> =poPt
> -----END PGP SIGNATURE-----
> 
> 



Reply to: