PHP fsockopen with the UNIX abstract namespace

From: Date: Wed, 13 Feb 2008 14:32:18 +0000
Subject: PHP fsockopen with the UNIX abstract namespace
Groups: php.general 
Request: Send a blank email to php-general+get-269246@lists.php.net to get a copy of this message
Hi, I have a problem with fsockopen in connection with the UNIX abstract namespace. To open a UNIX socket in the abstract namespace I have to add a nul byte in front of the path. Unfortunately PHP returns fsockopen() [function.fsockopen]: unable to connect to unix://:0 (Connection refused) for unix://\x00/tmp/dbus-whatever which is a bit strange because I expected at least the error message "fsockopen() [function.fsockopen]: unable to connect to unix://[NUL byte]/tmp/dbus-whatever:0 (Connection refused)" Is this a known issue or do I have to set something in the php.ini? I would appreciate any ideas how to debug this issue.

« previous php.general (#269246) next »