help with my phpinfo

hi

this is my hosting phpinfo

http://www.iegy.net/phpinfo.php

fsockopen enabled

allow_url_fopen on

but my api project is not working on this hosting

there is no problem in my api project because it works fine on localhost

i need help about the php requirements to run my api project

The first (and most likely) issue is that the firewall at your host forbids the outgoing connection.

The easiest way to solve that is to change the API port to 443 or 80, since firewalls usually allow HTTP and HTTPS connections. Alternatively, you can contact your host, and ask them to enable outgoing connections to port 8728.

In addition, you’re having an old PHP version - 5.2.17, which may be older than the one on your computer. You may want to (ask your host to) upgrade to a newer PHP version (at least 5.3.0), and in fact, if you’re using this client, you must.

i changed api port to 22 and disabled ssh because port 80 and 443 didn’t work with me on the local host

port 22 work’s fine on the localhost but the same problem on my hosting

and now my php is 5.3.24

i don’t know where is the problem now :frowning:

Port 22 will not work with your host. Only 80 and 443 will.

Otherwise, you MUST contact them to enable outgoing connections for any other port, be it 22 or 8728.

thanks man i work’s on port 21 :slight_smile:

I know I am disturbed you and i’m sorry about that

you are the best here

Nah! You haven’t “disturbed” me or anything of the sort. What gave you THAT idea?

Thanks :slight_smile: .