<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Muhamad Rizki</title>
    <description>The latest articles on DEV Community by Muhamad Rizki (@murizdev).</description>
    <link>https://dev.to/murizdev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1222466%2Fe7d10198-a3ee-4848-b849-0438a26a72c0.png</url>
      <title>DEV Community: Muhamad Rizki</title>
      <link>https://dev.to/murizdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/murizdev"/>
    <language>en</language>
    <item>
      <title>How to run any Laravel project (It's very easy)</title>
      <dc:creator>Muhamad Rizki</dc:creator>
      <pubDate>Sun, 21 Jul 2024 23:49:41 +0000</pubDate>
      <link>https://dev.to/murizdev/how-to-run-any-laravel-project-its-very-easy-l3l</link>
      <guid>https://dev.to/murizdev/how-to-run-any-laravel-project-its-very-easy-l3l</guid>
      <description>&lt;p&gt;You may be confused about how to run a Laravel project taken from outside sources such as Github, because in a Laravel project that is made directly on the local we only have to type in the command terminal&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;php artisan serve
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and the Laravel project can run properly and can be displayed on the screen.&lt;/p&gt;

&lt;p&gt;Let's see the difference between local and external Laravel projects, here I will use external sources such as Github.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff23kf07p2r0silf68mto.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff23kf07p2r0silf68mto.png" alt="the difference between local and external Laravel projects" width="800" height="359"&gt;&lt;/a&gt; As you can see, there are some files and folders missing in the Laravel project part taken from Github.&lt;/p&gt;

&lt;p&gt;Why this happens is because Laravel by default has a special file called &lt;code&gt;.gitignore&lt;/code&gt;, this file will exclude the files and folders listed in it so that they will not be uploaded to Github or other external sources that have Git support.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8bmzec45sr2cxflfavxu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8bmzec45sr2cxflfavxu.png" alt="laravel gitignore file" width="800" height="287"&gt;&lt;/a&gt; This is necessary for security reasons and also to minimize the size of the project so as not to overload the cloud storage with unnecessary files.&lt;/p&gt;

&lt;p&gt;So how to run it if some files and folders are missing? I'll show you how.&lt;/p&gt;
&lt;h3&gt;
  
  
  Make sure your PHP version fulfills the minimum specifications of the Laravel project.
&lt;/h3&gt;

&lt;p&gt;First of all, your php version must fulfill the minimum specifications of the Laravel project, for example if the Laravel version is 10 you need at least PHP version 8.1+ to run it.&lt;/p&gt;

&lt;p&gt;You can check the minimum php specifications in Laravel via the following link &lt;a href="https://laravel.com/docs/master/releases#support-policy" rel="noopener noreferrer"&gt;laravel.com/docs/master/releases#support-policy&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If your PHP version does not fulfill the minimum specifications and you do not know how to update or change the PHP version, you can read my previous post on &lt;a href="https://dev.to/murizdev/how-to-switch-or-update-php-version-in-laragon-1k3n"&gt;How to switch or update PHP version in Laragon&lt;/a&gt; &lt;/p&gt;
&lt;h3&gt;
  
  
  Install the necessary packages for the Laravel project
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;composer install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The command is to install the packages needed in the Laravel project, you can see in the first picture in the local section there is a folder called vendor, that folder will be installed if you run the command above.&lt;/p&gt;
&lt;h3&gt;
  
  
  Create and configure the .env file
&lt;/h3&gt;

&lt;p&gt;Because the &lt;code&gt;.env&lt;/code&gt; file doesn't exist then you have to create it again, you can copy the file called &lt;code&gt;.env.example&lt;/code&gt; to create the &lt;code&gt;.env&lt;/code&gt; file quickly, just run the following command on the terminal&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cp .env.example .env
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;the system will automatically copy the &lt;code&gt;.env.example&lt;/code&gt; file and change the file name to &lt;code&gt;.env&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Configure the application key in the .env file
&lt;/h3&gt;

&lt;p&gt;In the &lt;code&gt;.env&lt;/code&gt; file that you just created earlier does not have an application key, you must set the application key by running the following command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;php artisan key:generate 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;this will automatically regenerate the application key in your &lt;code&gt;.env&lt;/code&gt; file.&lt;/p&gt;

&lt;h3&gt;
  
  
  Run some additional commands (optional)
&lt;/h3&gt;

&lt;p&gt;If you are using a database in your Laravel project, then run the following command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;php artisan migrate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Make sure you have configured the database in the &lt;code&gt;.env&lt;/code&gt; file.&lt;/p&gt;

&lt;p&gt;If the Laravel project has a file upload feature then don't forget to run the following command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;php artisan storage:link
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Closing
&lt;/h3&gt;

&lt;p&gt;That's how to run any Laravel project, if you run it locally then you can directly type the &lt;code&gt;php artisan serve&lt;/code&gt; command to run it.&lt;/p&gt;

&lt;p&gt;Note: if you run on a server then you have to change the root folder to public and don't have to run the &lt;code&gt;php artisan serve&lt;/code&gt; command anymore.&lt;/p&gt;

&lt;p&gt;Hopefully this post is useful for you and don't forget to share it with others. good luck...&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to switch or update PHP version in Laragon</title>
      <dc:creator>Muhamad Rizki</dc:creator>
      <pubDate>Fri, 31 May 2024 12:44:48 +0000</pubDate>
      <link>https://dev.to/murizdev/how-to-switch-or-update-php-version-in-laragon-1k3n</link>
      <guid>https://dev.to/murizdev/how-to-switch-or-update-php-version-in-laragon-1k3n</guid>
      <description>&lt;p&gt;Laragon is a portable, isolated, fast &amp;amp; powerful universal development environment for PHP, Node.js, Python, Java, Go, Ruby. It is fast, lightweight, easy-to-use and easy-to-extend. &lt;/p&gt;

&lt;p&gt;Unlike other development environments, in Laragon you can change the version of the programming language and database used in Laragon, which is what makes Laragon easy to use and extend.&lt;/p&gt;

&lt;p&gt;However, Laragon no longer receives updates since it was last updated on September 16, 2022. And if you want to find out how to update the programming language or database used, it will be a little difficult because Laragon itself doesn't have any documentation about it.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to switch or update PHP version
&lt;/h2&gt;

&lt;p&gt;First of all, make sure you have Laragon installed on your Windows, you can download Laragon via this link &lt;a href="https://laragon.org/download/"&gt;laragon.org/download&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Download PHP version for Windows
&lt;/h3&gt;

&lt;p&gt;Search for the PHP version you want to install on Windows, you can find it via this link &lt;a href="https://windows.php.net/download/"&gt;windows.php.net/download&lt;/a&gt;. &lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzwgryvxhgy3ixu65uiu9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzwgryvxhgy3ixu65uiu9.png" alt="PHP For Windows" width="800" height="366"&gt;&lt;/a&gt;Choose according to the Windows architecture you are using (X64 or X86) and decide whether you want thread safety or non-thread safety, I recommend choosing thread safety.&lt;/p&gt;

&lt;h3&gt;
  
  
  Download the latest version of Apache
&lt;/h3&gt;

&lt;p&gt;If you choose to update the PHP version to a higher version, don't forget to also update the version of Apache, I recommend downloading the latest version, you can download the latest version of Apache via this link &lt;a href="https://www.apachelounge.com/download/"&gt;apachelounge.com/download&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv5pbedtia3wgev747ys5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv5pbedtia3wgev747ys5.png" alt="Apachelounge" width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Extract your PHP and Apache to Laragon
&lt;/h3&gt;

&lt;p&gt;If you have successfully downloaded your desired version of PHP and Apache, you can extract it into Laragon&lt;/p&gt;

&lt;p&gt;Extract PHP into &lt;code&gt;laragon &amp;gt; bin &amp;gt; php&lt;/code&gt; folder&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqbjwlzvja2edhlr2bqv6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqbjwlzvja2edhlr2bqv6.png" alt="PHP Path" width="800" height="225"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Extract Apache into &lt;code&gt;laragon &amp;gt; bin &amp;gt; apache&lt;/code&gt; folder&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F70yr2xt8zd0ix5kl1ira.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F70yr2xt8zd0ix5kl1ira.png" alt="Apache Path" width="800" height="214"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Edit the system environment variables
&lt;/h3&gt;

&lt;p&gt;After you have successfully extracted it, don't forget to edit your system environment variables, you can type env in Windows search to open the menu.&lt;/p&gt;

&lt;p&gt;In the system variables section, go to the path menu in the system environment variable and add the paths of PHP and Apache that you downloaded earlier.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frw6h9y7mapsvuo55lt07.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frw6h9y7mapsvuo55lt07.png" alt="System environment variables" width="611" height="196"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note: move it to the top of the PHP version you want to use, like in the picture where I want to use version 8.3 so I put it at the top.&lt;/p&gt;

&lt;p&gt;Once done you can press the Ok button until the system environment variable menu closes, and you can check if the versions of your PHP and Apache have changed using the terminal.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frvxewiwloek4s55vgypo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frvxewiwloek4s55vgypo.png" alt="Terminal Windows" width="800" height="173"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Good, you have successfully changed it, don't forget to also set the PHP and Apache versions that you are using in Laragon.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkn6d56vhufy9kvyjuuij.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkn6d56vhufy9kvyjuuij.png" alt="Apache version" width="800" height="367"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbjos4f2uc4hfsuu4pk5g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbjos4f2uc4hfsuu4pk5g.png" alt="PHP version" width="782" height="389"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can exit Laragon to restart it after you have finished setting the versions of PHP and Apache. Good luck...&lt;/p&gt;

</description>
      <category>php</category>
      <category>laragon</category>
      <category>windows</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to install Imagick PHP extension in Windows (Updated)</title>
      <dc:creator>Muhamad Rizki</dc:creator>
      <pubDate>Thu, 30 Nov 2023 07:23:01 +0000</pubDate>
      <link>https://dev.to/murizdev/how-to-install-imagick-php-extension-in-windows-2p8</link>
      <guid>https://dev.to/murizdev/how-to-install-imagick-php-extension-in-windows-2p8</guid>
      <description>&lt;p&gt;In this article, I will show you step-by-step how to install ImageMagick PHP extension in Windows. Make sure you follow the steps carefully so that you can successfully install it.&lt;/p&gt;

&lt;h2&gt;
  
  
  About ImageMagick
&lt;/h2&gt;

&lt;p&gt;Based on &lt;a href="//imagemagick.org"&gt;imagemagick.org&lt;/a&gt;, ImageMagick is a free, open-source software suite, used for editing and manipulating digital images. It can be used to create, edit, compose, or convert bitmap images, and supports a wide range of file formats, including JPEG, PNG, GIF, TIFF, and PDF.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to install
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt;&lt;br&gt;
Before you install Imagick, you must first check the &lt;strong&gt;PHP version&lt;/strong&gt;, &lt;strong&gt;PHP architecture&lt;/strong&gt;, and whether your PHP is &lt;strong&gt;Thread Safety&lt;/strong&gt; or not.&lt;/p&gt;

&lt;p&gt;You can check this by creating a PHP program that runs the &lt;code&gt;phpinfo()&lt;/code&gt; function.&lt;/p&gt;

&lt;p&gt;See the image below:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnruhv81cb4938ndhjh7a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnruhv81cb4938ndhjh7a.png" alt="PHP Version"&gt;&lt;/a&gt; You can see that the PHP version I'm using is version 8.1.10, the architecture is x64, and the thread safety is enabled.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2&lt;/strong&gt;&lt;br&gt;
After that, you have to download the Imagick package, you can download it from this link &lt;a href="https://pecl.php.net/package/imagick" rel="noopener noreferrer"&gt;Imagick For Windows&lt;/a&gt;, select the DLL option for Windows.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvp0wu39m1bg2jvzkdcrj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvp0wu39m1bg2jvzkdcrj.png" alt="PHP PECL"&gt;&lt;/a&gt; Choose a version that is stable and matches your PHP version. In this case, my PHP version is 8.1+.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fusa61afkp6w5taedbilv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fusa61afkp6w5taedbilv.png" alt="Imagick for Windows"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3&lt;/strong&gt;&lt;br&gt;
Extract and copy the file with the name &lt;code&gt;php_imagick.dll&lt;/code&gt; that is in the &lt;strong&gt;php_imagick&lt;/strong&gt; folder that you have downloaded in the second step.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1pphyy0dup39yxcjhuuf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1pphyy0dup39yxcjhuuf.png" alt="PHP Imagick Folder"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4&lt;/strong&gt;&lt;br&gt;
Paste the &lt;code&gt;php_imagick.dll&lt;/code&gt; file in the &lt;strong&gt;ext&lt;/strong&gt; folder where your PHP folder is located.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fchxhkxyvfbzf0mfeoggh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fchxhkxyvfbzf0mfeoggh.png" alt="PHP Folder Ext"&gt;&lt;/a&gt; In this case, I'm using Laragon.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5&lt;/strong&gt;&lt;br&gt;
Copy all the files with &lt;code&gt;.dll&lt;/code&gt; format (except &lt;code&gt;php_imagick.dll&lt;/code&gt;) in the &lt;strong&gt;php_imagick&lt;/strong&gt; folder that you have downloaded in the second step.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc27akkl1jgtijcj60gtq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc27akkl1jgtijcj60gtq.png" alt="PHP Imagick Folder"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6&lt;/strong&gt;&lt;br&gt;
Paste all the &lt;code&gt;.dll&lt;/code&gt; files you copied into your PHP folder.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgvvcwr81f677ilh7rbwn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgvvcwr81f677ilh7rbwn.png" alt="PHP Folder"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 7&lt;/strong&gt;&lt;br&gt;
Change the contents of the file named &lt;strong&gt;php.ini&lt;/strong&gt; in the PHP folder by adding &lt;code&gt;extension=imagick&lt;/code&gt; and save it.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzbi0nu207tlw1gxq3use.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzbi0nu207tlw1gxq3use.png" alt="php.ini"&gt;&lt;/a&gt; In some cases, you have to type it like this &lt;code&gt;extension=php_imagick.dll&lt;/code&gt;, it depends if the other listed extensions include the &lt;code&gt;.dll&lt;/code&gt; format or not.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 8&lt;/strong&gt;&lt;br&gt;
Restart your apache and check whether the imagick extension is installed or not using the &lt;code&gt;phpinfo()&lt;/code&gt; function.&lt;/p&gt;

&lt;p&gt;If successfully installed then you will find an extension with the name imagick when you run the &lt;code&gt;phpinfo()&lt;/code&gt; function.&lt;/p&gt;

&lt;p&gt;See the image below:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbhf4k5xgkdqcrordm2lp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbhf4k5xgkdqcrordm2lp.png" alt="php info()"&gt;&lt;/a&gt; Notes: If you use Laragon, you must check the imagick extension first. The method is by right-clicking on Laragon, select PHP then go to the extensions menu and search for imagick.&lt;/p&gt;

&lt;h2&gt;
  
  
  Closing
&lt;/h2&gt;

&lt;p&gt;These are the step-by-step how to install ImageMagick PHP extension in Windows. Hopefully the article is useful for you and don't forget to leave a comment on the article.&lt;/p&gt;

</description>
      <category>imagick</category>
      <category>php</category>
      <category>tutorial</category>
      <category>windows</category>
    </item>
  </channel>
</rss>
