Hi all, purchased a My Book World Edition and it's great, but I'm stuck when trying to compile PHP with MySQL support.
This is my php configure setting:
./configure —disable-xml —disable-libxml —disable-dom —without-iconv —disable-simplexml —disable-xmlreader —disable-xmlwriter —without-pear —enable-fastcgi —enable-discard-path —enable-force-redirect —with-mysql=/opt/include/mysql
It stalls with this message:
checking for specified location of the MySQL UNIX socket… no
checking for MySQL UNIX socket location… no
configure: error: Cannot find MySQL header files under /opt/include/mysql.
Note that the MySQL client library is not bundled anymore!
Upon searching for mysql.h it really is located in /opt/include/mysql . But why doesn't it find it?
I got my MySQL version through Optwares Ipkg install mysql
My PHP version is through wget and it's version 5.2.3.
I've been sitting for hours and I can't think anymore. I'm going to bed. Hoping there's an answer here in the morning :) thanks in advance!