If you built php yourslef you will need to make sure you included '--with-mysql=/mysql/dir' while configuring. My config for php looks like this:
Code:
'./configure' \
'--with-apache=/usr/src/apache_1.3.22' \
'--with-png-dir=/usr/local' \
'--with-zlib-dir=/usr/local' \
'--with-jpeg-dir=/usr/local' \
'--with-pspell=/usr/local' \
'--with-gd=/usr' \
'--with-mysql=/usr' \
'--with-freetype-dir=/usr/local' \
'--enable-trans-sid' \
'--enable-track-vars' \
'--enable-shared' \
If you didn't build php yourself.. Hmm.. I'm not sure how you get a prebuilt php module for apache to have mysql support. Someone help...