{"id":15660,"date":"2025-08-28T19:08:00","date_gmt":"2025-08-28T13:38:00","guid":{"rendered":"https:\/\/www.skynats.com\/?p=15660"},"modified":"2025-09-01T16:44:34","modified_gmt":"2025-09-01T11:14:34","slug":"how-to-install-pimcore-on-ubuntu-24","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/how-to-install-pimcore-on-ubuntu-24\/","title":{"rendered":"How to Install Pimcore on Ubuntu 24"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li>Pimcore is an open-source digital experience platform that combines CMS, PIM (Product Information Management), DAM (Digital Asset Management).<\/li>\n\n\n\n<li>&nbsp;Built on Symfony and PHP, Pimcore offers a highly extensible architecture, making it ideal for developers building complex, scalable digital solutions.<\/li>\n\n\n\n<li>Used by global brands, Pimcore supports multilingual content, high-performance data management, and seamless integration with third-party systems.f you\u2019re looking to get started, you can easily install Pimcore on <a href=\"https:\/\/ubuntu.com\/blog\/tag\/ubuntu-24-04-lts\" target=\"_blank\" rel=\"noopener\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">Ubuntu 24<\/mark><\/a> to leverage its full potential.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-update-the-system\"><strong>Update the System<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update &amp;&amp; sudo apt upgrade -y<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-install-nginx\"><strong>Install Nginx<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install nginx -y\nsudo systemctl start nginx\nsudo systemctl enable nginx<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-install-mariadb\"><strong>Install MariaDB<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install mariadb-server -y\nsudo systemctl start mariadb\nsudo systemctl enable mariadb<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mariadb<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">From here you can create a database and user for Pimcore.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-install-php-and-extensions\"><strong>Install PHP and Extensions<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Install PHP and all necessary extensions.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install php-fpm php-intl php-mysql php-curl php-cli php-zip php-xml \\\nphp-gd php-common php-mbstring php-xmlrpc php-bcmath php-json php-sqlite3 php-soap -y<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ensure you&#8217;re using a supported PHP version (e.g., PHP 8.3).<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\" id=\"h-install-composer\"><strong>Install Composer<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -sS https:\/\/getcomposer.org\/installer | sudo php -- --install-dir=\/usr\/local\/bin --filename=composer<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-create-pimcore-project\"><strong>Create Pimcore Project<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to your web root and create the Pimcore project using Composer:-<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/var\/www\/\nCOMPOSER_MEMORY_LIMIT=-1 composer create-project pimcore\/demo pimcore<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\" id=\"h-set-the-right-permissions\"><strong>Set the right permissions<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>chown -R www-data:www-data \/var\/www\/pimcore<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-install-pimcore-nbsp\"><strong>Install Pimcore&nbsp;<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run the Pimcore installer:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/var\/www\/pimcore\nsudo -u www-data .\/vendor\/bin\/pimcore-install<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-configure-nginx\"><strong>Configure Nginx<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Create a new config file<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vim \/etc\/nginx\/sites-available\/pimcore.conf<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>upstream php-pimcore {\n    server unix:\/var\/run\/php\/php8.3-fpm.sock;\n}\n\nmap $args $static_page_root {\n    default                                 \/var\/tmp\/pages;\n    \"~*(^|&amp;)pimcore_editmode=true(&amp;|$)\"     \/var\/nonexistent;\n    \"~*(^|&amp;)pimcore_preview=true(&amp;|$)\"      \/var\/nonexistent;\n    \"~*(^|&amp;)pimcore_version=&#91;^&amp;]+(&amp;|$)\"     \/var\/nonexistent;\n}\n\nmap $uri $static_page_uri {\n    default                                 $uri;\n    \"\/\"                                     \/%home;\n}\n\nserver {\n    listen 80;\n    listen &#91;::]:80;\n    server_name ip_address;\n    root \/var\/www\/pimcore\/public;\n    index index.php;\n\n    access_log \/var\/log\/nginx\/pimcore-access.log;\n    error_log \/var\/log\/nginx\/pimcore-error.log;\n\n    location ~* ^\/admin\/external {\n        rewrite .* \/index.php$is_args$args last;\n    }\n\n    location \/ {\n        error_page 404 \/meta\/404;\n        try_files $static_page_root$static_page_uri.html $uri \/index.php$is_args$args;\n    }\n\n    location ~ ^\/index\\.php(\/|$) {\n        fastcgi_split_path_info ^(.+\\.php)(\/.+)$;\n        try_files $fastcgi_script_name =404;\n        include fastcgi.conf;\n        set $path_info $fastcgi_path_info;\n        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n        fastcgi_pass php-pimcore;\n        internal;\n    }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\" id=\"h-enable-the-site\"><strong>Enable the site<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ln -s \/etc\/nginx\/sites-available\/pimcore.conf \/etc\/nginx\/sites-enabled\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Restart nginx:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl restart nginx<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once Nginx is configured and Pimcore is installed, you can access the Pimcore admin panel in your browser.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">http:\/\/&lt;your-server-ip&gt;\/admin<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You\u2019ve now successfully installed and configured Pimcore on an Ubuntu server with a robust LEMP stack.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\" id=\"h-conclusion\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Need expert help to Install Pimcore on Ubuntu 24 without the hassle? Our team specializes in <a href=\"https:\/\/www.skynats.com\/linux-server-management\/\">Linux server management services<\/a> to handle installations, optimizations, and ongoing support. Contact Skynats today and get your Pimcore setup running smoothly!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Update the System Install Nginx Install MariaDB Then run: From here you can create a database and user for Pimcore. Install PHP and Extensions Install PHP and all necessary extensions. Ensure you&#8217;re using a supported PHP version (e.g., PHP 8.3). Install Composer Create Pimcore Project Navigate to your web root and create the Pimcore project [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[1091,241,1010,993],"class_list":["post-15660","post","type-post","status-publish","format-standard","hentry","category-blog","tag-install-nginx","tag-linux","tag-linux-server-management-services","tag-ubuntu-24"],"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/15660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=15660"}],"version-history":[{"count":3,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/15660\/revisions"}],"predecessor-version":[{"id":15688,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/15660\/revisions\/15688"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=15660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=15660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=15660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}