Portal Home > Knowledgebase > Articles Database > Unexpected character input error when running php4 and php5 together
Posted by ediscac, 07-21-2008, 12:04 PM Hi Guys CentOS - I had php4 running and php5 as cgi but then decided I wanted to have it the other way around i.e. run php5 standard and php4 as cgi. php5 is now running fine but php4 bombed with this error: I fixed it by doing the following: EDIT php.ini file: Normally in /usr/local/php4/lib/php.ini Under ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; UNCOMMENT this line (i.e. remove the ";" infront) and CHANGE 0 to 1: This is for Linux and must be done with root via SSH Not sure if this will help anyone, but I thought I'd post it anyway. Thanks Jaun Web Hosting South-Africa
Add to Favourites Print this Article