Local apache server on PC - PHP cannot connect to other remote server -


i using ubuntu 14.04 lts in vm (referring pc a).
installed local apache server on pc php5 developing. want access remote server php-script running on pc 1 of production servers s. in fact calling web-api-url on server s.
server s reachable internet , can connect via ssh pc server s. installed application on server s reachable.

the php script etc correct , works. debug point should connect remote server. doesn't.

do need add config php/apache allow connections remote server?

i missing curl libs. after installing php5-curl works fine. , did not error messages, because display_erros not activated.


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -