php4 problem after update

Discussion in 'Installation/Configuration' started by Aloa, Feb 13, 2008.

  1. Aloa

    Aloa New Member

    Hi guys
    I have Suse 10.0 ispconfig 2.2.19 and php4 for cgi use and php5 for apache_mod
    I have sites working in php4 ana in php5 ..
    after update to 2.2.20 .. sites used php4 brings errors ..
    Code:
    .............
    Warning: Unexpected character in input: ' in /web/web4/cgi-bin/php on line 2130
    Warning: Unexpected character in input: ' in /web/web4/cgi-bin/php on line 2130
    Parse error: parse error, unexpected T_STRING in /web/web4/cgi-bin/php on line 2130
    ...............
    i check Ispconfig site and see 2.2.20 .. make update :)
    and again .. sites used php5 work fine .. but php4 give errors ..
    Code:
    .............
    Warning: Unexpected character in input: ' in /web/web4/cgi-bin/php on line 2130
    Warning: Unexpected character in input: ' in /web/web4/cgi-bin/php on line 2130
    Parse error: parse error, unexpected T_STRING in /web/web4/cgi-bin/php on line 2130
    ...............
    i switch php in apache directives ..
    AddHandler php-script .php
    Action php-script /cgi-bin/php

    Any ideas .. where i check the problem ?

    Thanks in advance Aloa
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    What's in line 2130 of the file /web/web4/cgi-bin/php ?
     
  3. Aloa

    Aloa New Member

    this is php executable file .. same as /usr/bin/php .. core php ..
    cant see line 2130 ..
     

Share This Page