D
D
deadnice2018-01-17 02:52:37
PHP
deadnice, 2018-01-17 02:52:37

How to make imagemagick work (win10x64+openserver)?

I installed imagemagick, a suitable assembly for my system, it is displayed in phpinfo, but when I try to execute: I catch 502 Bad Gateway. Log in nginx: 2018/01/17 02:45:48 [error] 112140#111572: *7 WSARecv() failed (10054: An existing connection was forcibly closed by the remote host) while reading response header from upstream, client: 127.0.0.1, server: test.local, request: "GET /testimagick.php HTTP/1.1", upstream: " 127.0.0.1:8080/testimagick.php ", host: "test.local"
$im = new Imagick($file_path);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
profesor08, 2018-01-17
@profesor08

error_reporting(E_ALL);
ini_set("display_errors", true);

Shame. Write in php, but look for errors in nginx.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question