Re: Ubuntu/CentOS difference in PHP usage
| From: | Leandro Dardini | Date: | Sun, 27 Oct 2013 17:27:12 +0000 |
| Subject: | Re: Ubuntu/CentOS difference in PHP usage | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322389@lists.php.net to get a copy of this message | ||
I was in strict contact with the developer and the requirements listed are
all fully meet. Unfortunately there is a requirements we are not aware
of...
About the "not work", I mean the client is not receiving the correct
"sec-Websocket-Accept"
I am suspecting the problem is in the OpenSSL library and I just discovered
the one used in CentOS is not supporting TLSv1.2 while even the old Ubuntu
is supporting!
From the RFC6455 regarding Websocket, it seems TLS is required for wss://
Leandro
2013/10/27 Aziz Saleh <azizsaleh@gmail.com>
>
>
>
> On Sun, Oct 27, 2013 at 1:05 PM, Leandro Dardini <ldardini@gmail.com>wrote:
>
>> Hello,
>> I am trying to use an amazing library for websocket over SSL:
>> https://github.com/Devristo/phpws
>> Unfortunately it doesn't work on CentOS, but it works great on Ubuntu. It
>> is not the version of PHP. I tried the same version on both OS and on
>> Ubuntu works while on CentOS doesn't.
>>
>> Have you ever found a similar problem?
>>
>> Leandro
>>
>
> Leandro,
>
> What exactly does it mean that it does not work? Are you getting errors,
> what happens when you run it?
>
> The only requirements I see on Github are:
>
> *Server*
>
> - PHP 5.3
> - Open port for the server
> - PHP OpenSSL module to run a server over a encrypted connection
>
> *Client*
>
> - PHP 5.3
> - Server that implements the HyBi (#8-#12) draft version
> - PHP OpenSSL module to connect using SSL (wss:// uris)
>
>
> If CentOs PHP version meets the requirements, I don't see a reason why it
> won't work.
>
> Aziz
>