Install issues with PHP Part

Discussion in 'Installation/Configuration' started by cksrealm, Nov 24, 2005.

  1. cksrealm

    cksrealm New Member

    Hi guys

    I am having some issues with the installation of ISPConfig. The system that I am running is Debian and this is the error that I am getting during the install.

    checking lex output file root... ./configure: line 2422: lex: command not found
    configure: error: cannot find output from lex; giving up
    ERROR: Could not configure PHP

    I am running php4 as can be seen below.

    ii php4 4.4.0-4 server-side, HTML-embedded scripting languag
    ii php4-cgi 4.4.0-4 server-side, HTML-embedded scripting languag
    ii php4-cli 4.4.0-4 command-line interpreter for the php4 script
    ii php4-common 4.4.0-4 Common files for packages built from the php
    ii php4-mcrypt 4.3.10-2 MCrypt module for php4
    ii php4-mysql 4.4.0-4 MySQL module for php4
    ii php4-odbc 4.4.0-4 ODBC module for php4
    ii php4-pgsql 4.4.0-4 PostgreSQL module for php4
    ii php4-rrdtool 1.04-15 RRD module for php4
    ii php4-snmp 4.4.0-4 SNMP module for php4
    ii php4-sybase 4.4.0-4 Sybase / MS SQL Server module for php4
    ii php4-xslt 4.4.0-4 XSLT module for php4

    Anyone got any idea why this is not working at all?

    Kind Regards

    Chris K
  2. falko

    falko Super Moderator Howtoforge Staff

    Try to install flex:
    apt-get install flex
    Then delete the current binstall_ispconfig directory and try to install again.
    Did you have a look here: It gives some hints how to install/configure Debian Sarge in order to prepare the system for ISPConfig.
  3. cksrealm

    cksrealm New Member

    I have tried doing the apt-get install flex again but it is already installed. Any other ideas, is it maybe worth removing php totally and restarting it that way as well. I am really keen to get this setup now.... :)
  4. falko

    falko Super Moderator Howtoforge Staff

    Please post the output of
    which flex
    which lex
  5. cksrealm

    cksrealm New Member

    cobra:/home/chris/install_ispconfig# which flex
    cobra:/home/chris/install_ispconfig# which lex
  6. cksrealm

    cksrealm New Member

    configure: error: Cannot find MySQL header files under /usr.
    Note that the MySQL client library is not bundled anymore.
    ERROR: Could not configure PHP
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Please install the mysql devel packages to solve this.
  8. falko

    falko Super Moderator Howtoforge Staff

    Run this:
    apt-get install mysql-server mysql-client libmysqlclient12-dev
    It's described here:

Share This Page