imagemagick wird nicht erkannt
Posted: Tue Apr 23, 2019 5:11 pm
Hallo,
ich habe einen CentOS7 VPS mit Plesk Onyx laufen.
auf dem habe ich nach dieser anleitung Imagemagick drauf installiert und auch eingerichtet.
https://grepitout.com/install-imagemagick-plesk-server/
Nur nach euren Tests von(viewtopic.php?f=10&t=6257) findet er es trotzdem nicht.
1. test.php
Zeigt mir:
Zeigt mir:
Liebe Grüße
Florian
ich habe einen CentOS7 VPS mit Plesk Onyx laufen.
auf dem habe ich nach dieser anleitung Imagemagick drauf installiert und auch eingerichtet.
https://grepitout.com/install-imagemagick-plesk-server/
Nur nach euren Tests von(viewtopic.php?f=10&t=6257) findet er es trotzdem nicht.
1. test.php
Code: Select all
<?php
echo `/usr/local/bin/convert -help`;
?>
2.test.phpZeigt mir eine leere weiße Seite.
Code: Select all
<?php
$dir = '/usr/local/bin';
if (function_exists('is_executable')) echo 'is_executable exists ';
if (function_exists('is_executable') && is_executable($dir . '/convert')) { echo 'File is executable'; } else { echo 'File is NOT executable '; }
if (is_file($dir . '/convert')) echo 'File IS_FILE ';
?>
3. testy.phpis_executable exists File is NOT executable
Code: Select all
<?php
$dir = '/usr/local/bin';
if (!empty($dir) && (function_exists('is_executable') && is_executable($dir . '/convert')) || is_file($dir . '/convert')) {
echo "FOUND: " . $dir . '/convert';
} else {
echo "NOT FOUND: " . $dir . '/convert';
}
?>
Ich bin ratlosNOT FOUND: /usr/local/bin/convert
Liebe Grüße
Florian