How to install Piwigo on Windows 11
Piwigo is an open-source photo gallery software that can be used for managing and sharing photos online. In this tutorial, we will walk you through the steps to install Piwigo on Windows 11.
Prerequisites
Before we start with the installation process, make sure your computer has the following software installed:
- Apache web server (version 2.4 or higher)
- MySQL or MariaDB database server (version 5.5 or higher)
- PHP (version 7.4 or higher)
If you do not have these installed already, you can download them from their official websites.
Step 1: Download Piwigo
Visit the official website of Piwigo (https://piwigo.org/) and download the latest version of Piwigo for Windows. Extract the downloaded zip file to a directory of your choice.
Step 2: Configure Apache web server
Open your Apache configuration file (httpd.conf) and add the following lines to it:
<Directory "path/to/piwigo">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
Replace "path/to/piwigo" with the actual path of the directory where you extracted Piwigo.
Restart Apache for the changes to take effect.
Step 3: Create a database
Open your preferred database management tool (such as phpMyAdmin) and create a new database for Piwigo. Note down the database name, username, and password as you will need them in the next step.
Step 4: Install Piwigo
Open your web browser and navigate to http://localhost/path/to/piwigo, where "path/to/piwigo" is the actual path of the directory where you extracted Piwigo.
Follow the on-screen instructions to install Piwigo. When prompted, enter the database name, username, and password that you noted down in the previous step.
After the installation is complete, Piwigo will generate a configuration file (local/config/database.inc.php) with the database connection details.
Step 5: Final steps
For security reasons, it is recommended to remove the installation directory (install/) and rename the admin/ directory to something else.
You can now access the Piwigo admin panel by navigating to http://localhost/path/to/piwigo/admin, where "path/to/piwigo" is the actual path of the directory where you extracted Piwigo.
Congratulations! You have successfully installed Piwigo on Windows 11.