Build PHP error

Discussion in 'PHP' started by 04nunhucks, Sep 14, 2008.

  1. 04nunhucks

    04nunhucks Well-Known Member

    I cannot build it :(

    It complains about MySQL:

    checking for MySQLi support... yes
    checking whether to enable embedded MySQLi support... no
    mysql_config not found
    configure: error: Please reinstall the mysql distribution

    Running the cPanel version of it

  2. mistwang

    mistwang LiteSpeed Staff

    I think it should be a PHP configuration issue, make sure to use the same configuration parameters reported by phpinfo() page produced by mod_php, minus apache related parameters.
  3. 04nunhucks

    04nunhucks Well-Known Member

    How about :

    /usr/local/lsws/phpbuild/php-5.2.6/main/reentrancy.c: In function `php_readdir_r':
    /usr/local/lsws/phpbuild/php-5.2.6/main/reentrancy.c:139: error: too few arguments to function `readdir_r'
    make: *** [main/reentrancy.lo] Error 1
  4. mistwang

    mistwang LiteSpeed Staff

    You can try googling it. it is PHP internal error, probably relate to mismatched header files.

Share This Page