Error yang muncul

PHP message: PHP Warning:  fopen(http://load-01.jaranguda.com/Unduh-Lagu.mp3): failed to open stream: no suitable wrapper could be found in /var/www/rdl.jaranguda.com/wp-content/plugins/download-monitor/includes/class-dlm-download-handler.php on line 603" while reading response header from upstream, client: 36.84.147.104, server: rdl.jaranguda.com, request: "GET /kesahmanuk/8877/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "rdl.jaranguda.com", referrer: "http://rdl.jaranguda.com/novita-br-barus/kacang-koro/"
2016/11/21 15:41:35 [error] 10699#10699: *30176 FastCGI sent in stderr: "PHP message: PHP Warning:  fopen(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /var/www/rdl.jaranguda.com/wp-content/plugins/download-monitor/includes/class-dlm-download-handler.php on line 603

contoh error lain

--2016-11-21 15:36:52--  http://ds.jaranguda.com/bs/8877/
Resolving ds.jaranguda.com (ds.jaranguda.com)... 1.2.3.4
Connecting to ds.jaranguda.com (ds.jaranguda.com)|1.2.3.4|:80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.
 
--2016-11-21 15:37:23--  (try: 2)  http://ds.jaranguda.com/bs/8877/
Connecting to ds.jaranguda.com (ds.jaranguda.com)|1.2.3.4|:80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

Solusinya

edit php.ini, di Debian dengan php-fpm, php.ini berada di /etc/php5/fpm/php.ini

allow_url_fopen = Off

menjadi

allow_url_fopen = On

lalu restart php5-fpm

service php5-fpm restart

Leave a comment

Your email address will not be published. Required fields are marked *