I need to recompile php with mysql support.
I found this on the net:
you can softly recompile PHP...
cd /path/to/php/sources
step1)now on my server i have-
usr/bin/php
usr/share/php
<b>which of the two is my path/to/php/sources?</b>
step2) make distclean (only if you compiled PHP by yourself in the past)
<b> I havent compiled php myself in the past. so do i do a 'make distclean'?</b>
step3)/configure --with-apxs=[/path/to/apache/bin/apxs] --with-
mysql=[/path/to/basedir/of/mysql] ... --whatever-you-want
<b> Can i take al the info from my phpinfo.php and ass all that was configured before and just change the '--without-mysqlsupport to --with-mysqlsupport' </b>
how will i identify my source to mysql?
I see
/usr/bin/mysql
/usr/lib/mysql
/usr/include/mysql
/usr/share/mysql
/usr/share/man/man1/mysql.1.gz
Step4) make and make install
Can anyone help me with this and clarify this for me?