Bug #17473 [Opn]: undefined constant SOL_UDP
| From: | daniel dot oconnor at gmail dot com | Date: | Tue, 08 Jun 2010 00:05:02 +0000 |
| Subject: | Bug #17473 [Opn]: undefined constant SOL_UDP | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-3898@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17473&edit=1
ID: 17473
Updated by: daniel.oconnor@gmail.com
Reported By: hm2k at php dot net
Summary: undefined constant SOL_UDP
Status: Open
Type: Bug
Package: Net_DNS
Package Version: 1.0.1
PHP Version: 5.3.2
Roadmap Versions:
New Comment:
That's really odd - SOL_UDP is part of the PHP socket extension.
http://theserverpages.com/php/manual/en/function.socket-create.php
Can you check your php.ini to ensure you've got it properly enabled?
Previous Comments:
------------------------------------------------------------------------
[2010-06-07 20:18:23] hm2k
Description:
------------
PHP Notice: Use of undefined constant SOL_UDP - assumed 'SOL_UDP' in
/usr/lib/php/Net/DNS/Resolver.php on line 950
PHP Warning: socket_create() expects parameter 3 to be long, string
given in /usr/lib/php/Net/DNS/Resolver.php on line 950
Test script:
---------------
I'm not 100% sure how to reproduce at this moment in time.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17473&edit=1