Plesk convert with PHP 7.2
Posted: 2018-11-05T02:42:50-07:00
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
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