how to configure imagick on xubuntu

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I just install Xubuntu 18.04 for my xampp development machine.
I have download and install xampp 7.2.5-0 and there is no error on the install and I can see the default xampp web page on localhost.
It seems that the xubuntu 18.04 already include imagemagick executable from default install, since when I type convert -version it show
Version ImageMagick 6.9.7-4
so I create a simple php page
<?php
$im = new imagick();
?>
but when I load this page on the browser I get the following error message.
Fatal error: Uncaught Error: Class 'imagick' not found in /opt/lampp/htdocs/index.php:2 Stack trace: #0 main thrown in /opt/lampp/htdocs/index.php on line 2
so I search the website, it mention that I need to install php-imagick, so I type in
sudo apt-get install php-imagick
The installation seems to be ok and it also seems to configure the correct php version which is 7.2.5
Then I restart apache server from xampp contol panel
then I reload the page again, I still have the same issue/error message
am I missing steps to get imagick working on php?
Thank you.
Regards
- Haris -
xubuntu php
add a comment |Â
up vote
0
down vote
favorite
I just install Xubuntu 18.04 for my xampp development machine.
I have download and install xampp 7.2.5-0 and there is no error on the install and I can see the default xampp web page on localhost.
It seems that the xubuntu 18.04 already include imagemagick executable from default install, since when I type convert -version it show
Version ImageMagick 6.9.7-4
so I create a simple php page
<?php
$im = new imagick();
?>
but when I load this page on the browser I get the following error message.
Fatal error: Uncaught Error: Class 'imagick' not found in /opt/lampp/htdocs/index.php:2 Stack trace: #0 main thrown in /opt/lampp/htdocs/index.php on line 2
so I search the website, it mention that I need to install php-imagick, so I type in
sudo apt-get install php-imagick
The installation seems to be ok and it also seems to configure the correct php version which is 7.2.5
Then I restart apache server from xampp contol panel
then I reload the page again, I still have the same issue/error message
am I missing steps to get imagick working on php?
Thank you.
Regards
- Haris -
xubuntu php
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I just install Xubuntu 18.04 for my xampp development machine.
I have download and install xampp 7.2.5-0 and there is no error on the install and I can see the default xampp web page on localhost.
It seems that the xubuntu 18.04 already include imagemagick executable from default install, since when I type convert -version it show
Version ImageMagick 6.9.7-4
so I create a simple php page
<?php
$im = new imagick();
?>
but when I load this page on the browser I get the following error message.
Fatal error: Uncaught Error: Class 'imagick' not found in /opt/lampp/htdocs/index.php:2 Stack trace: #0 main thrown in /opt/lampp/htdocs/index.php on line 2
so I search the website, it mention that I need to install php-imagick, so I type in
sudo apt-get install php-imagick
The installation seems to be ok and it also seems to configure the correct php version which is 7.2.5
Then I restart apache server from xampp contol panel
then I reload the page again, I still have the same issue/error message
am I missing steps to get imagick working on php?
Thank you.
Regards
- Haris -
xubuntu php
I just install Xubuntu 18.04 for my xampp development machine.
I have download and install xampp 7.2.5-0 and there is no error on the install and I can see the default xampp web page on localhost.
It seems that the xubuntu 18.04 already include imagemagick executable from default install, since when I type convert -version it show
Version ImageMagick 6.9.7-4
so I create a simple php page
<?php
$im = new imagick();
?>
but when I load this page on the browser I get the following error message.
Fatal error: Uncaught Error: Class 'imagick' not found in /opt/lampp/htdocs/index.php:2 Stack trace: #0 main thrown in /opt/lampp/htdocs/index.php on line 2
so I search the website, it mention that I need to install php-imagick, so I type in
sudo apt-get install php-imagick
The installation seems to be ok and it also seems to configure the correct php version which is 7.2.5
Then I restart apache server from xampp contol panel
then I reload the page again, I still have the same issue/error message
am I missing steps to get imagick working on php?
Thank you.
Regards
- Haris -
xubuntu php
asked May 21 at 12:58
user7293420
11
11
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1038700%2fhow-to-configure-imagick-on-xubuntu%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password