Portal Home > Knowledgebase > Articles Database > Unexpected character in input: '' (ASCII=26) state=1 in /usr/local/cpanel/cgi-sys/ph
Unexpected character in input: '' (ASCII=26) state=1 in /usr/local/cpanel/cgi-sys/ph
Posted by joelin, 04-03-2008, 08:56 PM |
Hi,
i add the php5 and set php4 as cgi from whm,
after finisging,
it takes errors
can anyone tell me how can i fit it?
http://forums.cpanel.net/images/misc/progress.gif thanks a lot.
|
Posted by Scott.Mc, 04-04-2008, 01:34 AM |
Given the path I assume the php4 binary is the secondary (CGI). I am not sure how WHM/easyapache compiles both now adays.
However you may want to try something along the lines of "export SCRIPT_FILENAME=$PATH_TRANSLATED" before the php4 binary is executed.
|
Posted by ediscac, 07-21-2008, 11:40 AM |
This worked for me.
EDIT your php.ini file:
In /usr/local/php4/lib/php.ini
Under
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
UNCOMMENT this line
(i.e. remove the ";" infront)
and
CHANGE 0 to 1:
Save and that's it. Instant fix!
Hope this helps!
Jaun @
Web Hosting South-Africa
|
Add to Favourites Print this Article
Also Read
c (Views: 526)
Cloud Setup (Views: 525)