having issues with php 5.4 build

Discussion in 'Install/Configuration' started by MentaL, Dec 11, 2013.

  1. MentaL

    MentaL Member

    Currently using 5.3, looking to upgrade to 5.4, when building i get the following error'

    Code:
    configure: error: Cannot find MySQL header files under /usr/bin/mysql_config.
    Note that the MySQL client library is not bundled anymore!
    **ERROR** Could not configure PHP build
    But mysql_config exists...

    build configs

    Code:
    '--with-mysqli' '--with-zlib' '--with-freetype-dir=/usr' '--with-gd' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--with-iconv' '--with-mysql=/usr/bin/mysql_config' '--with-libdir=lib64' '--with-litespeed' '--with-jpeg-dir=/usr' '--with-curl'
    
    Cheers.

    #Update


    changed '--with-mysql=/usr/bin/mysql_config to '--with-mysql=/usr and now appears to compile.
    Last edited: Dec 11, 2013
  2. MentaL

    MentaL Member

    Update

    503 Service Unavailable

    The server is temporarily busy, try again later!


    so, i'll have to downgrade back to 5.3
  3. NiteWave

    NiteWave Administrator

    for php 5.4, you can try
    --with-mysql
    or
    --with-mysql-mysqlnd
    they are equivalent.

Share This Page