Answer the question
In order to leave comments, you need to log in
Why can't a PHP-FPM script make a file_get_contents( 'https://...' ) request?
The bottom line is that it costs PHP7.1 The pro
user is created and added to the www-data group
For him, the /home/pro pro folder owns the folder with permissions 755
The /home folder owns root
In the pool settings user = pro; chroot=/home; listen = 10.0.0.9:9000
In
php.ini url_open is allowed
Nginx from another server proxies the request to
eth1 vk.com)
If I open it through a browser, I get the error file_get_contents cant resolve host..
I read on the stack that there could be a problem in dns - it seems to me that it is unlikely. Then nothing would work.
For the second day I've been freaking out
. What could be the reason?
Thank you!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question