• No related posts.

      • No related posts.

        • No related posts.

          • No related posts.

              No related posts.

            Error compiling PHP on CentOS 64 bit

            In order to compile PHP on 64 bit you need to use the option --with-libdir=lib64 otherwise you will stay forever with the following error

            checking for MySQL support... yes
            checking for specified location of the MySQL UNIX socket... no
            checking for MySQL UNIX socket location... no
            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.

            Other possible reasons are :
            1. missing the libtool-ltdl-devel package
            2. missing the ncurses-devel
            3. missing mysql-devel package

            Related posts:

            1. Error : Database Error: Unable to connect to the database:The MySQL adapter “mysql” is not available.
            2. Install Squid 3.1 on Centos 5.X
            3. Change mysql password
            4. How to upgrade MySQL 5.0 to MySQL 5.1 cPanel
            5. Download RPMs with yum
            This entry was posted in Centos, Debian, Fedora, Linux, Redhat, Ubuntu and tagged , , .

            Leave a Reply