How to Install AgenDAV on Windows 11
AgenDAV is an open-source, multi-platform calendar application that is designed to manage and share calendars, tasks, and contacts over the internet. In this tutorial, we will explain how to install AgenDAV on Windows 11.
Prerequisites
Before you begin the installation process, you should have the following:
- A Windows 11 operating system
- A web server like Apache or Nginx
- PHP 7.4 or higher
- MySQL or MariaDB
Step 1: Download AgenDAV
First, you need to download the latest version of AgenDAV from https://agendav.github.io/agendav/.

Step 2: Install PHP
You need to install PHP on your Windows 11 system. Download the latest version of PHP for Windows from the official website https://windows.php.net/download/. After downloading the PHP executable, run the installer and follow the instructions.

Step 3: Install MySQL
AgenDAV also requires a database to store its data. We will use MySQL as our database server. Download MySQL from the official website https://dev.mysql.com/downloads/installer/. After downloading the installer, run the setup and follow the instructions.

Step 4: Create a Database
After installation, open the MySQL Command Prompt and login as the root user. Create a new database for AgenDAV with the following command:
CREATE DATABASE agendav;
Step 5: Install AgenDAV
Extract the downloaded AgenDAV archive to your web server root directory, under htdocs/ in the case of Apache. Rename the extracted directory to agendav.

Copy the config.sample.php file to config.php inside the agendav directory. Edit the config.php file and add the MySQL database settings you created in the previous step.
<?php
$config = array(
'pdo' => array(
'dns' => 'mysql:host=localhost;dbname=agendav',
'user' => 'root',
'password' => '',
'options' => array(
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
),
),
);
Step 6: Configure Apache
If you are using Apache web server, you need to add the following lines to httpd.conf file to enable the use of .htaccess files:
<Directory "<path-to-webserver>/htdocs">
AllowOverride All
</Directory>
Restart Apache for changes to take effect.
Step 7: Access AgenDAV
After completing the above steps, your AgenDAV installation should be accessible from a web browser using the following URL:
http://localhost/agendav

Conclusion
In this tutorial, you have learned how to install AgenDAV on Windows 11. You can use AgenDAV to manage and share calendars, tasks, and contacts over the internet. With this, you can be organized and manage your activities efficiently.