Koozali.org: home of the SME Server

PHP Socket Creation

rpotter187

PHP Socket Creation
« on: June 17, 2005, 08:09:27 PM »
I really need some help one this one...being a newbie to SME.

I'm currently trying to run a web-based ticket application called RepairShop2 made be RealityMedias.com. When trying to log into the web interface I get LMS errors (Security Errors). According to RM I need to do the following:

You should check (or have your host provider check) your PHP.ini configuration file for socket creation restrictions and/or check for a local firewall that could prevent the server from connecting to remote hosts on port 54321.

Any suggestions on how to do this?

Thanks in advance for any help that I receive...

Robin  :-?

gardnc

PHP Socket Creation
« Reply #1 on: June 18, 2005, 12:42:41 AM »
I can give you a little direction, and then the smarter guys will come behind me and correct/finish the answer.

You will find the php.ini file in /etc and you need to find a reference in it to what the RM told you (socket?).  You can then edit the php.ini file to accomplish what you need and test.  Look up php.ini on the internet to see all the attributes that can be set.  Test it, if it works then you will need to create a template that will modify the php.ini each times the sme boots since the sme replaces that file during every boot.  There are lots of threads about templates here.

As to port 54321, if it is an outgoing requetst, i.e. the sme is going out to the internet on that port, then as I understand it the sme blocks no outgoing ports except be exception rules.  So that should work.