Install Pimcore on Windows 11
Pimcore is an open-source digital platform for managing content, data, and assets. In this tutorial, we will guide you on how to install Pimcore on Windows 11.
Requirements
Before you proceed with the installation process, ensure that your system meets the following requirements:
- Windows 11 installed
- PHP 7.4 or higher installed
- MySQL or MariaDB installed
- Apache or Nginx installed
- Composer installed
Step 1: Download Pimcore
To download Pimcore, follow these steps:
- Open your web browser and go to the Pimcore official website.
- Click the "Download Pimcore" button on the homepage, and then click the "Pimcore Core" button on the downloads page that loads.
- Choose the latest version of Pimcore from the list of available downloads.
- Download the ZIP archive of Pimcore to your local drive.
Step 2: Install Dependencies
Install the required dependencies using a package manager for your web server. You may follow the commands below for these popular package managers:
Apache
sudo apt-get install apache2 libapache2-mod-php
Nginx
sudo apt-get install nginx php-fpm
Step 3: Install Composer
Visit the official website of Composer and download the executable installer. Running the .exe file will install Composer on your Windows 11 system.
Step 4: Extract Pimcore
Extract the downloaded Pimcore ZIP archive to your web server's document root, such as /var/www/html/ (Apache) or /usr/share/nginx/html/ (Nginx).
unzip pimcore-xx.xx.x.zip -d /var/www/html/
Step 5: Create a Database
Create a new MySQL database using your preferred tool (e.g., PhpMyAdmin, MySQL Workbench, command terminal, etc.).
CREATE DATABASE pimcore_db;
Step 6: Install Pimcore
Open a terminal and navigate to the Pimcore directory in the web server document root. Once there, run the following commands to install Pimcore and its dependencies.
cd /var/www/html/pimcore
composer install
Provide the necessary information during the installation process.
Step 7: Setup Apache or Nginx
Once you've installed Pimcore, set up your Apache or Nginx web server to serve Pimcore.
Apache
Create an Apache virtual host configuration file for Pimcore in /etc/apache2/sites-available/. The document root should point to the Pimcore directory.
<VirtualHost *:80>
ServerName pimcore.local
DocumentRoot /var/www/html/pimcore/
<Directory /var/www/html/pimcore/>
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Then, activate the site by running:
sudo a2ensite pimcore.local.conf
sudo systemctl reload apache2
Nginx
Create a Nginx server block file for Pimcore in /etc/nginx/sites-available/. The document root should point to the Pimcore directory.
server {
listen 80;
server_name pimcore.local;
root /usr/share/nginx/html/pimcore/;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ ^/index\.php(/|$) {
fastcgi_pass unix:/run/php/php8.0-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}
Then, activate the block by running:
sudo ln -s /etc/nginx/sites-available/pimcore.local /etc/nginx/sites-enabled/
sudo systemctl reload nginx
Step 8: Access Pimcore
Open your web browser and navigate to http://localhost or http://<your-server-ip-address>. You should see the Pimcore installation wizard.
Follow the prompts in the installation wizard to complete the installation of Pimcore.
Congratulations! You have successfully installed Pimcore on Windows 11.