2012-02-28, Tue

Compiling PHP with MySQL using phpfarm

If you’re trying to compile PHP with MySQL on CentOS x86_64 you may get this error:

    checking for mysql_close in -lmysqlclient... no
    checking for mysql_error in -lmysqlclient... no
    configure: error: mysql configure failed. Please check config.log for more information.

You can fix it by adding --with-libdir=lib64 to your config-options file or whatever compilation script you are using.

Isaac Su

tags: centos mysql mysqlclient php phpfarm



  1. A property legal counselor in Dubai will spare you from a great deal of cerebral pains. Rather than agonizing over all the procedure that accompanies purchasing a property, you should simply give your legal advisor a chance to deal with them.

    Majestic Villas dubai · May 17, 12:43 AM · #