- Pimcore is an open-source digital experience platform that combines CMS, PIM (Product Information Management), DAM (Digital Asset Management).
- Built on Symfony and PHP, Pimcore offers a highly extensible architecture, making it ideal for developers building complex, scalable digital solutions.
- Used by global brands, Pimcore supports multilingual content, high-performance data management, and seamless integration with third-party systems.f you’re looking to get started, you can easily install Pimcore on Ubuntu 24 to leverage its full potential.
Update the System
apt update && sudo apt upgrade -y
Install Nginx
sudo apt install nginx -y
sudo systemctl start nginx
sudo systemctl enable nginx
Install MariaDB
sudo apt install mariadb-server -y
sudo systemctl start mariadb
sudo systemctl enable mariadb
Then run:
mariadb
From here you can create a database and user for Pimcore.
Install PHP and Extensions
Install PHP and all necessary extensions.
apt install php-fpm php-intl php-mysql php-curl php-cli php-zip php-xml \
php-gd php-common php-mbstring php-xmlrpc php-bcmath php-json php-sqlite3 php-soap -y
Ensure you’re using a supported PHP version (e.g., PHP 8.3).
Install Composer
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
Create Pimcore Project
Navigate to your web root and create the Pimcore project using Composer:-
cd /var/www/
COMPOSER_MEMORY_LIMIT=-1 composer create-project pimcore/demo pimcore
Set the right permissions
chown -R www-data:www-data /var/www/pimcore
Install Pimcore
Run the Pimcore installer:
cd /var/www/pimcore
sudo -u www-data ./vendor/bin/pimcore-install
Configure Nginx
Create a new config file
vim /etc/nginx/sites-available/pimcore.conf
upstream php-pimcore {
server unix:/var/run/php/php8.3-fpm.sock;
}
map $args $static_page_root {
default /var/tmp/pages;
"~*(^|&)pimcore_editmode=true(&|$)" /var/nonexistent;
"~*(^|&)pimcore_preview=true(&|$)" /var/nonexistent;
"~*(^|&)pimcore_version=[^&]+(&|$)" /var/nonexistent;
}
map $uri $static_page_uri {
default $uri;
"/" /%home;
}
server {
listen 80;
listen [::]:80;
server_name ip_address;
root /var/www/pimcore/public;
index index.php;
access_log /var/log/nginx/pimcore-access.log;
error_log /var/log/nginx/pimcore-error.log;
location ~* ^/admin/external {
rewrite .* /index.php$is_args$args last;
}
location / {
error_page 404 /meta/404;
try_files $static_page_root$static_page_uri.html $uri /index.php$is_args$args;
}
location ~ ^/index\.php(/|$) {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
try_files $fastcgi_script_name =404;
include fastcgi.conf;
set $path_info $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass php-pimcore;
internal;
}
}
Enable the site
sudo ln -s /etc/nginx/sites-available/pimcore.conf /etc/nginx/sites-enabled/
sudo systemctl restart nginx
Once Nginx is configured and Pimcore is installed, you can access the Pimcore admin panel in your browser.
http://<your-server-ip>/admin
You’ve now successfully installed and configured Pimcore on an Ubuntu server with a robust LEMP stack.
Conclusion
Need expert help to Install Pimcore on Ubuntu 24 without the hassle? Our team specializes in Linux server management services to handle installations, optimizations, and ongoing support. Contact Skynats today and get your Pimcore setup running smoothly!