HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   php4 problem after update (http://www.howtoforge.com/forums/showthread.php?t=20386)

Aloa 13th February 2008 15:10

php4 problem after update
 
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

till 14th February 2008 11:39

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

Aloa 14th February 2008 12:23

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


All times are GMT +2. The time now is 15:38.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.