How to Install Friendica on Windows 11
Summary
This tutorial will guide you through the steps of installing Friendica on Windows 11.
Prerequisites
Before you begin, make sure you have the following installed:
Steps
Launch WAMP Server and make sure it is running.
Open the "www" directory in WAMP Server. This can be found by right-clicking on the WAMP Server icon in the system tray and selecting "www Directory."
Clone the Friendica repository using Git by running the following command in the "www" directory:
git clone https://github.com/friendica/friendica.gitNavigate to the Friendica directory in the command prompt:
cd friendicaInstall the required dependencies using Composer:
composer installOnce the installation is complete, copy the ".htconfig.php.sample" file and rename it to ".htconfig.php":
copy htconfig.php.sample htconfig.phpOpen the ".htconfig.php" file in a text editor and modify the following settings:
$a->config['system']['baseurl'] = 'http://localhost/friendica/'; $a->config['system']['sitename'] = 'My Friendica Site'; $a->config['system']['db_host'] = 'localhost'; $a->config['system']['db_user'] = 'root'; $a->config['system']['db_pass'] = ''; $a->config['system']['db_database'] = 'friendica';Save the changes to the ".htconfig.php" file.
Create a new MySQL database for Friendica using phpMyAdmin. Open phpMyAdmin by clicking on the WAMP Server icon in the system tray and selecting "phpMyAdmin." Log in with your MySQL username and password, and create a new database called "friendica."
In the "www" directory, create a new file called "index.php" and paste the following code:
<?php header("Location: ../friendica/index.php"); ?>Launch your web browser and go to http://localhost/friendica. The Friendica installation page should appear.
Follow the on-screen instructions to complete the installation process.
Congratulations, you have successfully installed Friendica on Windows 11!