Re: Ubuntu/CentOS difference in PHP usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

>
>
>
> On Sun, Oct 27, 2013 at 1:05 PM, Leandro Dardini <ldardini@xxxxxxxxx>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
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux