PDA

View Full Version : MySQL support in PHP


tobi
28th April 2005, 18:37
I installed Fedora 2 with Apache and PHP, and afterwards I installed MySQL manually. Now the problem is that my PHP doesn't seem to have MySQL support... :(
Do I have to compile a new PHP, or is there another solution?

Tobi

joe
29th April 2005, 20:16
If you originally installed PHP via source then you will need to recompile php using the '--with-mysql' flag.

If you installed php via rpm, you should just need to install the php-mysql rpm package.

falko
30th April 2005, 13:51
Yes, try to install the php-mysql rpm package!

tobi
2nd May 2005, 22:20
Ok, got it working... :D