I'm building php from source..
just wondering which mysql path do I specify for –with-mysql= and –with-mysqli because whereis mysql returns:
whereis mysql
mysql: /usr/bin/mysql /usr/lib/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz
Also, I installed httpd via yum (RHEL5) so I'm wondering what path to use for –with-apxs2=
whereis httpd
httpd: /usr/sbin/httpd.event /usr/sbin/httpd /usr/sbin/httpd.worker /etc/httpd /usr/lib/httpd /usr/share/man/man8/httpd.8.gz
Thanks for any replies!
Best Answer
Assuming that you've installed mysql-devel and httpd-devel, you should be able to use:
If you're building for 32 bit, drop the
64
from/usr/lib64
.