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
which of the two is my path/to/php/sources?
step2) make distclean (only if you compiled PHP by yourself in the past)
I havent compiled php myself in the past. so do i do a \'make distclean\'?
step3)/configure --with-apxs=[/path/to/apache/bin/apxs] --with-
mysql=[/path/to/basedir/of/mysql] ... --whatever-you-want
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\'
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?