./setup 2 error

Discussion in 'Installation/Configuration' started by Vladdy, Jan 4, 2008.

  1. Vladdy

    Vladdy New Member


    I am running an centos 5 system, configured it as in the perfect setup tutorial, but now when i m running the ispconfig installer i get

    ./setup2: line 873: ispconfig_tmp/php/bin/php: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!

    I looked into the file at line 873 and i saw

    ispconfig_tmp/php/bin/php -n -q check.php
    if [ ! -f php_check ]; then
    if [ "$install_art" == "upgrade" ]; then
    `echo $dist_init_scripts`/ispconfig_server restart &> /dev/null
    error "$q_php_check";

    But i don't really know how to fix this, i run php 5.0.22 .

    Thank you

    p.s :
    [root@et ~]# which c++
  2. till

    till Super Moderator

    There is no bug in the setup2 php. There must have been some errors on the screen in the compile output before the line "./setup2: line 873: ispconfig_tmp/php/bin/php: No such file or directory", please post these errors here.
  3. Vladdy

    Vladdy New Member

    Here's what i got :
  4. till

    till Super Moderator

    The relevant error message is:

    configure: error: Cannot find MySQL header files under /usr.

    This means that either the mysql header files are not installed on your server or thet they are installed in a location where the php configure script is not able to find them.

    Please install the mysql dev package from centos. If you have the dev package already installed and the compilation still does not succeeed, please post the output of:

    uname -a
  5. Vladdy

    Vladdy New Member

    Yeah i had figured it out i haven't installed mysql-dev, installing now ... let's hope it works :).
  6. Vladdy

    Vladdy New Member

    That was it .

    Thanks till

Share This Page