How to Install DocPHT on Windows 11
DocPHT is a self-hosted documentation platform built with PHP that allows you to create and manage online documentation on your own server. Here's how to install DocPHT on Windows 11:
Pre-requisites
- A web server installed on your machine. You can use XAMPP, WAMP, or any other web server of your choice.
- PHP 5.5 or later with the following extensions enabled:
php-json,php-mbstring,php-gd,php-zip,php-xml.
Steps
Download the latest release of DocPHT from the official website: https://docpht.org/
Extract the downloaded archive to the document root of your web server. For example, if you're using XAMPP, extract the files to
C:\xampp\htdocs.Rename the extracted folder to
docpht.Open a command prompt and navigate to the
docphtdirectory.Run the following command to install the required dependencies:
composer installIf you don't have Composer installed, you can download it from https://getcomposer.org/download/.
Once the dependencies are installed, make sure the
storage,bootstrap/cache, andpublic/uploadsdirectories are writable by the web server. You can do this by setting the appropriate file permissions.Edit the configuration file
app/config.phpand set the values to match your server environment.Open your web browser and navigate to
http://localhost/docpht/public/to access the DocPHT installation wizard.Follow the installation wizard prompts to complete the installation process.
Once the installation is complete, you can log in to the DocPHT dashboard at
http://localhost/docpht/public/adminwith the default username and password:admin / admin.
That's it! You now have DocPHT installed on your Windows 11 machine and can start creating and managing your documentation.