Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

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
0
CoDEV
Asked:
CoDEV
  • 8
  • 4
1 Solution
 
GodDoesntExistCommented:
Have you tried another web browser? I know IE7 can be really sensetive some times.
0
 
CoDEVAuthor Commented:
Thanks mate, but I tried in Mozilla Firefox as weel
0
 
Michael701Commented:
Where did you get your php install? What version is it?

http://bugs.php.net/bug.php?id=15657
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
CoDEVAuthor Commented:
I got PHP Version 4.1.1, how can that help.
0
 
Michael701Commented:
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
0
 
CoDEVAuthor Commented:
ok let me try that and will be in touch,

Thanks
0
 
CoDEVAuthor Commented:
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...
0
 
Michael701Commented:
create a file called

test.php5

<?PHP
phpinfo();
?>
0
 
CoDEVAuthor Commented:
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
0
 
CoDEVAuthor Commented:
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
0
 
CoDEVAuthor Commented:
Dear all, after I installed php5, I am getting the error in the IIS page, as shown in the image
untitled.bmp
0
 
Michael701Commented:
First start the default web site

next did you name the file test.php5 NOT test.php I want to see if it sends php5 extension files to the php5.exe
0
 
CoDEVAuthor Commented:
Thanks,
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 8
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now