It appears that fsockopen prior to php5 did not need the unix:// qualifier when opening a unix domain socket:
php4: fsockopen("/tmp/mysocket"......);
php5: fsockopen("unix:///tmp/mysocket"......);
This caught me out when upgrading.
unix:// și
udg:// (udg:// începând cu PHP 5).
unix:///tmp/mysockudg:///tmp/mysock
unix:// oferă acces la o conexiune de flux prin socket în
domeniul Unix. udg:// oferă un transport alternativ unui
socket din domeniul Unix utilizând protocolul datagramelor utilizatorului.
Socket-urile din domeniul Unix, spre deosebire de cele din domeniul Internet,
nu necesită un număr de port. În cazul fsockopen()
parametrul portno trebuie să fie stabilit 0.
Notă: Socket-urile din domeniul Unix nu sunt susținute pe Windows.
It appears that fsockopen prior to php5 did not need the unix:// qualifier when opening a unix domain socket:
php4: fsockopen("/tmp/mysocket"......);
php5: fsockopen("unix:///tmp/mysocket"......);
This caught me out when upgrading.