PDA

View Full Version : how to make php to work with mysql (php installed with apt-get, (no mysql support)


grafik
14th May 2006, 19:01
I've just found this site, and it seems to be really great!
I'm using your "The Perfect Setup - Debian Sarge (3.1)" howto, and I've realized running the phpinfo () script that php was compile without mysql support. I need mysql support in php, because most php scripts especially login related use mysql .
> My question is how could I install php with mysql support using apt-get , or there is no way doing it without compiling mannualy ? thanks a lot
> respectfully Istvan Juhos
> - is there a way to make changes to work mysql in php?

Wido
15th May 2006, 13:48
apt-get install php4-mysql

That should do the trick!

falko
15th May 2006, 16:25
And don't forget to restart Apache! ;)

grafik
16th May 2006, 00:18
Thanks, I've already installed that package, and probably mysql was working in php, I've been confused because phpinfo() said that there was a compilation without mysql