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
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
Have you tried another web browser? I know IE7 can be really sensetive some times.
ASKER
Thanks mate, but I tried in Mozilla Firefox as weel
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
http://www.php.net/downloads.php#v4
ASKER
ok let me try that and will be in touch,
Thanks
Thanks
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();
?>
test.php5
<?PHP
phpinfo();
?>
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
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
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
ASKER
Dear all, after I installed php5, I am getting the error in the IIS page, as shown in the image
untitled.bmp
untitled.bmp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks,