Hello everybody,
i have a question about Plesk and convert path.
I have installed multiple php version on plesk and PHP 7.2 is not the cli, using a Ubuntu server.
In my phpinfo i can see Imagick, but when i open /usr/local/bin the dir is empty.
Also when i call whereis convert in console, i get nothing.
This shows me a file not found:
<?php
echo "<pre>";
system("type convert");
echo "</pre>";
?>
This shows me a 1:
<?php
echo "<pre>";
system('which convert',$path); print_r($path);
echo "</pre>";
?>
The path of my PHP 7.2 is in /opt/plesk/php/7.2.
Thx and rgds
Plesk convert with PHP 7.2
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Plesk convert with PHP 7.2
I believe you need to install ImageMagick in addition to Imagick. Also be sure you install ImageMagick 6 or 7, whichever is compatible with your Imagick. If you installed ImageMagick 7, then the commands are with magick and not convert. So perhaps you need ImageMagick 6 rather than 7 to be compatible with your Imagick version.
Re: Plesk convert with PHP 7.2
Hello @fmw42,
thank you for your help and yes that was the problem. Ahhhhh i thought it was installed.
Thx for it an have a nice evening
thank you for your help and yes that was the problem. Ahhhhh i thought it was installed.
Thx for it an have a nice evening