php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34668 SSL: fatal protocol error
Submitted: 2005-09-28 07:37 UTC Modified: 2007-07-11 01:00 UTC
Votes:8
Avg. Score:3.6 ± 0.9
Reproduced:6 of 6 (100.0%)
Same Version:3 (50.0%)
Same OS:2 (33.3%)
From: smajor at gmail dot com Assigned:
Status: No Feedback Package: OpenSSL related
PHP Version: 5.0.5 OS: Red Hat Enterprise Linux 3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: smajor at gmail dot com
New email:
PHP Version: OS:

 

 [2005-09-28 07:37 UTC] smajor at gmail dot com
Description:
------------
SSL: fatal protocol error in php 5.0.3, 5.0.4, 5.05 when opening a connection to https using file().

Does anyone know how to correct this issue? I have upgraded to the latest pear packages and also OpenSSL

this does not matter what server you access it from go ahead and run the code with that url. the server will not aalow you to connect without an error.

Reproduce code:
---------------
$test = file("https://www.quantumns.com/style.css");

Actual result:
--------------
Warning: file() [function.file]: SSL: fatal protocol error in /home/httpd/vhosts/quantumns.com/httpdocs/chat.php on line 34

but the output is still returned.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-28 11:21 UTC] nlopess@php.net
This is probably an error in the server you are connecting to. Which software has the remote server? windows+IIS?

IIS doesn't conform with the standards, but PHP was supposed to suppress the warning automatically for these servers.
 [2005-09-28 11:24 UTC] smajor at gmail dot com
THE OS is redhat enterprise 3 linux with apache 2
 [2005-09-28 13:01 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [2005-10-06 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2007-06-21 16:51 UTC] cardoe@php.net
This is still an issue. I have tested this using PHP 5.2.2 and 5.2.3 against Apache 2.2.4 and have run into the same issue.

Using fsockopen and fread will result in the same error from fread.
 [2007-07-03 23:48 UTC] iliaa@php.net
Do you have a reproduce case? With latest CVS the code works fine fir 
me.
 [2007-07-11 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 02:01:29 2024 UTC