Link to home
Start Free TrialLog in
Avatar of CoDEV
CoDEV

asked on

How to get rid of PHP problem

Dear all,

I am facing a little problem when I tried to browse a php page, the following lines appear in the page

"CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:"

and before that the following error message appear.[as shown in attached image].

It works fine when I removed the line:    if (!isset($_SESSION)) {session_start();} .

Any suggestions...
err.JPG
Avatar of GodDoesntExist
GodDoesntExist

Have you tried another web browser? I know IE7 can be really sensetive some times.
Avatar of CoDEV

ASKER

Thanks mate, but I tried in Mozilla Firefox as weel
Where did you get your php install? What version is it?

http://bugs.php.net/bug.php?id=15657
Avatar of CoDEV

ASKER

I got PHP Version 4.1.1, how can that help.
Because version 4.1.1 was released in Dec 2001. Please install the last version of php 4 or the current stable version of php 5

http://www.php.net/downloads.php#v4
Avatar of CoDEV

ASKER

ok let me try that and will be in touch,

Thanks
Avatar of CoDEV

ASKER

Guys, how to configure the web server to the new php location. I mean, I used to have php 4 and now I installed php 5 and no thing has changed...
create a file called

test.php5

<?PHP
phpinfo();
?>
Avatar of CoDEV

ASKER

I KNEW THAT BUT NO THING HAPPEN, ONLY SOME INFORMATION ABOUT THE PHP APPEARED. WHAT CAN I DO TO UPGRATE FROM PHP 4 TO 5
Avatar of CoDEV

ASKER

The situation now is,

I have php4, and tried to install php 5 but no thing happen.

the information I got from the line:

<?PHP
phpinfo();
?>

is, PHP Version 4.1.1 and
Configuration File (php.ini) Path      c:\winnt

any advice mates,
Thanks
Avatar of CoDEV

ASKER

Dear all, after I installed php5, I am getting the error in the IIS page, as shown in the image
untitled.bmp
ASKER CERTIFIED SOLUTION
Avatar of Michael701
Michael701
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CoDEV

ASKER

Thanks,