← Back to team overview

ius-coredev team mailing list archive

[Bug 928586] Re: PHP sockets broken

 

Can you please get the following information back to us?

   rpm -qa | grep php
  
Also can you run the following via php-cli (as I did above):

  # php
    <?php
    $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
    print $socket;
    ?>

With the above results hopefully we find the issue.

-- 
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/928586

Title:
  PHP sockets broken

Status in IUS Community Project:
  New

Bug description:
  From IRC conversation:

  00:29 < Renacor> is there a reason php-sockets does not come with php-common in ius?                                                                                                                               
  00:33 <@derks> Renacor, I'm looking at the spec right now
  00:39 <@derks> Renacor, --enable-sockets is included in our builds ... which is staticly compiled into php
  00:39 <@derks> meaning, it doesn't build a separate DSO
  00:39 < Renacor> derks it does not seem to work though
  00:40 <@derks> can you provide an example code sample?
  00:40 < Renacor> derks: i installed php52-common-5.2.17-3.ius.el5
  00:40 < Renacor> derks: yes one sec
  00:40 <@derks> Renacor, hang on.. i was looking atou php53u... let me check php52
  00:41 < Renacor> $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); <-- breaks, since the function is undefined
  00:42 <@derks> is this using php cli or via apache?
  00:42 < Renacor> derks: both
  00:42 < Renacor> derks: tested with CLI
  00:43 < Renacor> I can't speak for apache to be honest
  00:44 <@derks> my dev box is jacked, i'll need to kick a vm before i can test/look into it.  in the mean time can you report a bug with as much info as you can
  00:44 < Renacor> derks: where would you like me to report the bug?
  00:47 <@derks> http://bugs.launchpad.net/ius
  00:52 < Renacor> can't create a bug for you unfortunately, the launchpad openid service seems to be broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/928586/+subscriptions


References