I have installed the MySQL-devel and I can find mysql.h, but I still have the error I mentioned above. ext/mysql/php_mysql.c:995: undefined reference to `_mysqlnd_init' ext/mysql/php_mysql.c:1012: undefined reference to `mysqlnd_connect' ext/mysql/php_mysql.c:876: undefined reference to `_mysqlnd_init' ... and so on. > Hi, > > You can just install the mysql headers via the devel package if you > don't need the server: > > # yum install mysql-devel > > > If you want to find where they were installed use: > > # find / -name mysql.h > > Regards > > Ian > -- > -- 黄昭源(Asher Wong) *Best Wishes To You!*