fsockopen and SMF Forum

fsockopen and SMF Forum

Posted by: imschur
Posted on: 2007-11-09 19:55:00

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

Re: fsockopen and SMF Forum

Posted by: rlparker
Posted on: 2007-11-09 20:50:00

In reply to:

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


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



Re: fsockopen and SMF Forum

Posted by: imschur
Posted on: 2007-11-09 20:59:00

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

Have a great day

Andrew

Tags: smf forumsimplemachinesphp functionsimple machinesheresclue