Fsockopen and SMF Forum

apps

#1

Hello
I want to use a mod on my Simple Machines Forum, However it says that “Requires fsockopen php function to be enabled”

How do I do this? I havent clue

Heres a link to the mods description http://custom.simplemachines.org/mods/index.php?mod=624


#2

DreamHost has the fsockopen() function disabled in their default PHP installations for security reasons, and I think you should strongly reconsider whether it is wise for you to try to re-enable it for your site.

A much better solution would be to find a similar mod that uses cURL to accomplish the same thing, or to modify the code you are considering using to use cURL. This is a much better solution, for you and other users who share your server, than you enabling fsopckopen() ion PHP on your domain.

That said, if you are determined to enable fsockopen(), you will need to do so by compiling and installing your own version of PHP for use on your domain.

–rlparker


#3

Thank you for the reply rlparker. This is all beyond me. I guess I will do without the mod.

Have a great day

Andrew