![]() sudo systemctl restart apache2 Verify Installation In order for any new PHP extension to be used with your web application Apache must be restarted. Installing the module alone isn’t enough. php-imagick/bionic,now 3.4.3~rc2-2ubuntu4 amd64 Restart Apache Web Server The output will look similar to the following, and at the time of this writing, there was only a single version available. The -a flag tells apt to list all version of a package available from the repositories. This would be useful in the event that the latest patch introduces regressions, which is fairly uncommon. If you require a previous version of php-imagick, you can list the version available from the Ubuntu repositories using the apt list command. ![]() Like ImageMagick, to do an imagick php install we can simply run the apt install command. Version 3.4.3 of the Imagick PHP extension is available from the Ubuntu’s repositories. sudo apt install imagemagick:6.9.7.4 Installing Imagick PHP Extension For example, to install version 6.9.7.4 you would run the following command. sudo apt list imagemagick -aĪnd to install a specific version of a package we specify it with the apt install command. To list all available version from the Ubuntu repositories, use the apt list command with the -a flag. The following command will install the latest version available in the Ubuntu source repositories. ImageMagick version 6.9.2 is available from the default Ubuntu repositories, and it can simply be installed by running the apt install command. This tutorial will show you how to do so on Ubuntu 18.04. To use the ImageMagick library with PHP applications, such as WordPress, we must first install the library and then it’s corresponding PHP class. ![]() Web applications often use the library for its high performance with operations against uploaded images, such as resizing and format conversions, for example. ImageMagick is a popular multi-platform image manipulation tool. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |