I've done some socket programming in php and it works fine in my computer running XP using the sockets library for windows (php_sockets.dll)
but when I upload it to a server running apache, the linux eqivalent (sockets.so) doesn't appear to be part of their php library
any ideas how i could get around this .. like getting it separately (no idea whre from though) and including the file in my php file that uses sockets ?
Any help would be great
Thanx
linux server doesn't have sockets.so .. any way around this
Moderator: General Moderators
do a phpinfo(); on that server and see if sockets are enabled, there should be something like '--enable-sockets' in the configure string at the top part and a section below where sockets is stated as enabled.. If it is not configured with sockets you wont be able to load the module even if you had it..
If your ISP won't recompile PHP with it, perhaps you could use perl for that part of your scripts? .. or python ..
If your ISP won't recompile PHP with it, perhaps you could use perl for that part of your scripts? .. or python ..