PHP Parse error on install.php

Discussion in 'Installation/Configuration' started by MrWebby, Jun 15, 2009.

  1. MrWebby

    MrWebby New Member


    When I try to install I get:

    PHP Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /tmp/trunk/install/lib/installer_base.lib.php on line 36

    Notice: installing from trunk; same result when installing from .gz file.

    In looking at 'installer_base.lib.php', line 36 looks like this:

    31 class installer_base {
    33 var $wb = array();
    34 var $language = 'en';
    35 var $db;
    36 public $conf;
    37 public $install_ispconfig_interface = true;
    38 public $is_update = false; // true if it is an update, falsi if it is a new install
    41 public function __construct()
    42 {
    43 global $conf; //TODO: maybe $conf should be passed to constructor
    44 //$this->conf = $conf;
    45 }

    I don't see anything wrong with this code.

    Please, help. Much appreciated.
  2. MrWebby

    MrWebby New Member

    I am running PHP 4. Word is that public/private declarations are not supported in php 4. Is this true? Could this be an issue?
  3. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    ISPConfig 3 needs PHP5. PHP4 is not supported.

Share This Page