Page 1 of 1

Installing PHP5 MySQL extension on Debian?

Posted: Thu Jan 11, 2007 3:18 pm
by JasonTC
Apparently, if I want to use MySQL with PHP5, I have to compile PHP5 with MySQL support. Does anyone know how to do this on Debian? "apt-get install php5" and then "apt-get install mysql-server" doesn't cut it. I realize that I could just re-install PHP5 from source with the proper configuration, but it would be so nice not to have to.

Thanks,
Jason

Posted: Thu Jan 11, 2007 3:24 pm
by Jenk

Code: Select all

apt-get install apache2 libapache-mod-php5 php5 php5-mysql mysql-server

Posted: Thu Jan 11, 2007 3:28 pm
by JasonTC
That did it. Thanks!