T
T
th1s2018-03-29 21:50:56
PHP
th1s, 2018-03-29 21:50:56

What is PHP Warning: file_get_contents()?

Here is such a problem

PHP Warning: file_get_contents(): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error\r\n in /var/www/html/bot.php on line 139

The script works on all hostings, I installed Ispmanager on my vps, it also works, but if I manually raise the php + apache2 + mysql server, it doesn’t plow and throws errors.
Help good people

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
th1s, 2018-04-03
@th1s

In my case, the problem was with the rights to the file and the inclusionallow_url_include On

D
Dmitry, 2018-03-29
@slo_nik

Good evening.
Since it works on all servers, but does not work on yours, which you configure yourself, then the problem is in the settings.
How to solve the problem - tell google .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question