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:// ve  udg://.
  
unix:///tmp/mysockudg:///tmp/mysock
   unix:// aktarımı Unix alanında bir soket akımı
   bağlantısına erişim sağlar. udg:// ise aynı sokete UDP
   protokolü kullanılarak erişim sağlar.
  
   Unix alanı soketleri, Genel Ağ soketlerinin tersine bir port numarası
   gerektirmezler. Bu durumda fsockopen() işlevinin
   portnum bağımsız değişkenine 0 atanmalıdır.
  
Bilginize: Unix alanı soketleri Windows'da desteklenmez.
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.