XAMPP How to Install/Enable GD and ZIP

Download Xammp Other information for web developers
XAMPP is a free, easy to install Apache distribution containing MariaDB, PHP and Perl. It allows you to create MODX sites offline, on a local web server on your computer. In this article, I will tell you how we can install PHP GD and ZIP in Xampp.

Installing (enabling) PHP extensions in Xampp.

To enable the necessary PHP extensions, such as GD in Xampp, do the following.

Open the XAMPP control panel, start Apache and MySQL, then click the Config button next to Apache, in the pop-up window, click on the php.ini item.

Quick jump to php.ini

The php.ini file will open, find the fileinfo extension in it. The easiest way to do this is through a search (CTRL+F and in the search window, type extension=fileinfo)

Search for extensions in php.ini

Under extension=fileinfo is the extension we need – gd, to enable it, remove it from the beginning ;/ In the same file below you will find extension=zip, also remove ; before it.

Enable php gd and zip

Save the file and close it.

Go back to your Xampp control panel and restart the apache server.

That’s it, now PHP GD and PHP ZIP are successfully installed in your XAMPP.

Rate article
MODX 3
Add a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.