HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   how to make php to work with mysql (php installed with apt-get, (no mysql support) (http://www.howtoforge.com/forums/showthread.php?t=4295)

grafik 14th May 2006 18:01

how to make php to work with mysql (php installed with apt-get, (no mysql support)
 
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 12:48

apt-get install php4-mysql

That should do the trick!

falko 15th May 2006 15:25

And don't forget to restart Apache! ;)

grafik 15th May 2006 23: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


All times are GMT +2. The time now is 02:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.