{"id":17015,"date":"2015-04-07T09:37:04","date_gmt":"2015-04-07T14:37:04","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=17015"},"modified":"2026-02-09T04:28:05","modified_gmt":"2026-02-09T10:28:05","slug":"install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/","title":{"rendered":"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignleft size-full wp-image-17018\" src=\"https:\/\/secure.rosehosting.com\/blog\/wp-content\/uploads\/2015\/03\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb.png\" alt=\"install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\" width=\"203\" height=\"115\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/03\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb.png 203w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/03\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb-177x100.png 177w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/03\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb-50x28.png 50w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/03\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb-75x42.png 75w\" sizes=\"(max-width: 203px) 100vw, 203px\" \/>In this blog post we will show you how to install Pagekit on a Debian 7 VPS with Nginx PHP-FPM and MariaDB. Pagekit is a new modern CMS build on top of the Symfony framework which you can use to build your website or blog.This guide should work on other <a title=\"Linux VPS\" href=\"https:\/\/www.rosehosting.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS<\/a> systems as well but was tested and written for <a title=\"Debian VPS\" href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Debian 7 VPS<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<p><!--more--><\/p>\n<h4>Login to your VPS via SSH<\/h4>\n<pre>ssh user@vps<\/pre>\n<h4>Update the system and install necessary packages.<\/h4>\n<pre>user@vps:~# sudo apt-get update \r\nuser@vps:~# sudo apt-get -y upgrade\r\nuser@vps:~# sudo apt-get install python-software-properties software-properties-common git vim<\/pre>\n<h4>Install MariaDB 10.0<\/h4>\n<p>Add MariaDB to your sources.list<\/p>\n<pre>user@vps:~# sudo apt-key adv --recv-keys --keyserver hkp:\/\/keyserver.ubuntu.com:80 0xcbcb082a1bb943db\r\nuser@vps:~# sudo add-apt-repository 'deb http:\/\/ftp.utexas.edu\/mariadb\/repo\/10.0\/debian wheezy main'<\/pre>\n<p>Install MariaDB:<\/p>\n<pre>user@vps:~# sudo apt-get update\r\nuser@vps:~# sudo apt-get install mariadb-server<\/pre>\n<p>When the installation is complete, run the following command to secure your installation:<\/p>\n<pre>mysql_secure_installation<\/pre>\n<p>Next, we need to create a database for our Pagekit installation.<\/p>\n<pre>user@vps:~# mysql -uroot -p\r\nMariaDB [(none)]&gt; CREATE DATABASE pagekit;\r\nMariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON pagekit.* TO 'pagekituser'@'localhost' IDENTIFIED BY 'pagekituser_passwd';\r\nMariaDB [(none)]&gt; FLUSH PRIVILEGES;\r\nMariaDB [(none)]&gt; \\q<\/pre>\n<h4>Install PHP and Nginx<\/h4>\n<p>The latest versions of Nginx and PHP are not available via the default Debian repositories, so we will add the Dotdeb repository. Open the \/etc\/apt\/sources.list file and append the following lines:<\/p>\n<pre>user@vps:~# sudo vim \/etc\/apt\/sources.list<\/pre>\n<pre>deb http:\/\/packages.dotdeb.org wheezy all\r\ndeb http:\/\/packages.dotdeb.org wheezy-php56 all<\/pre>\n<p>Fetch and install the GnuPG key:<\/p>\n<pre>user@vps:~# wget -qO - http:\/\/www.dotdeb.org\/dotdeb.gpg | sudo apt-key add -<\/pre>\n<p>Update the system and install Nginx, PHP and all necessary extensions:<\/p>\n<pre>user@vps:~# sudo apt-get update\r\nuser@vps:~# sudo apt-get install nginx \r\nuser@vps:~# sudo apt-get install php5-fpm php5-cli php5-json php5-apcu php5-curl<\/pre>\n<h4>Install Composer<\/h4>\n<p>Composer is a dependency manager for PHP with which you can install packages. Composer will pull all the required libraries you need for your project.<\/p>\n<pre>user@vps:~# curl -sS https:\/\/getcomposer.org\/installer | php\r\nuser@vps:~# sudo mv composer.phar \/usr\/local\/bin\/composer<\/pre>\n<h4>Install Node Gulp and Bower<\/h4>\n<pre>user@vps:~# curl -sL https:\/\/deb.nodesource.com\/setup | sudo bash -\r\nuser@vps:~# sudo apt-get install -y nodejs\r\nuser@vps:~# sudo npm install -g bower\r\nuser@vps:~# sudo npm install -g gulp<\/pre>\n<h4>Clone the git repository<\/h4>\n<p>Create a root directory for your web site and clone the git repository from github using the following commands:<\/p>\n<pre>user@vps:~# mkdir -p ~\/yourPagekitSite.com\/{public_html,logs}\r\nuser@vps:~# git clone https:\/\/github.com\/pagekit\/pagekit.git ~\/yourPagekitSite.com\/public_html<\/pre>\n<h4>Install all dependencies and buld assets<\/h4>\n<pre>user@vps:~# cd ~\/yourPagekitSite.com\/public_html\r\nuser@vps:~# composer install\r\nuser@vps:~# npm install\r\nuser@vps:~# bower install\r\nuser@vps:~# gulp<\/pre>\n<h4>PHP-FPM configuration<\/h4>\n<p>Create a new PHP-FPM pool for your user:<\/p>\n<pre>user@vps:~# sudo tee \/etc\/php5\/fpm\/pool.d\/$(whoami).conf &lt;&lt; EOF\r\n[$(whoami)]\r\nuser = $(whoami)  \r\ngroup = $(whoami)  \r\nlisten = \/var\/run\/php5-fpm-$(whoami).sock  \r\nlisten.owner = $(whoami)\r\nlisten.group = $(whoami)  \r\nlisten.mode = 0666  \r\npm = ondemand  \r\npm.max_children = 5  \r\npm.process_idle_timeout = 10s;  \r\npm.max_requests = 200  \r\nchdir = \/  \r\nEOF<\/pre>\n<p>Restart PHP-FPM<\/p>\n<pre>user@vps:~# sudo service php5-fpm restart<\/pre>\n<h4>Nginx configuration<\/h4>\n<p>Create a new Nginx server block with the following content:<\/p>\n<pre>user@vps:~# sudo tee \/etc\/nginx\/sites-available\/yourPagekitSite.com &lt;&lt; EOF\r\nserver {\r\n    server_name yourPagekitSite.com;\r\n    listen 80;\r\n    root $HOME\/yourPagekitSite.com\/public_html;\r\n    access_log $HOME\/yourPagekitSite.com\/logs\/access.log;\r\n    error_log $HOME\/yourPagekitSite.com\/logs\/error.log;\r\n    index index.php;\r\n \r\n    location \/ {\r\n        try_files \\$uri \\$uri\/ \/index.php?\\$args;\r\n    }\r\n \r\n    location ~* \\.(?:ico|css|js|gif|jpe?g|png|ttf|woff)\\$ {\r\n        access_log off;\r\n        expires 30d;\r\n        add_header Pragma public;\r\n        add_header Cache-Control \"public, mustrevalidate, proxy-revalidate\";\r\n    }\r\n \r\n    location ~ \\.php\\$ {\r\n        fastcgi_split_path_info ^(.+\\.php)(\/.+)\\$;\r\n        fastcgi_pass unix:\/var\/run\/php5-fpm-$(whoami).sock;\r\n        fastcgi_index index.php;\r\n        include fastcgi_params;\r\n        fastcgi_param SCRIPT_FILENAME \\$document_root\\$fastcgi_script_name;\r\n        fastcgi_intercept_errors off;\r\n        fastcgi_buffer_size 16k;\r\n        fastcgi_buffers 4 16k;\r\n    }\r\n \r\n    location ~ \/\\.ht {\r\n        deny all;\r\n    }\r\n \r\n}\r\nEOF<\/pre>\n<p>Test the Nginx configuration:<\/p>\n<pre>user@vps:~# sudo nginx -t<\/pre>\n<p>Activate the server block by creating a symbolic link and restart nginx:<\/p>\n<pre>user@vps:~# sudo ln -s \/etc\/nginx\/sites-available\/yourPagekitSite.com \/etc\/nginx\/sites-enabled\/yourPagekitSite.com\r\nuser@vps:~# sudo \/etc\/init.d\/nginx restart<\/pre>\n<h4>Final steps<\/h4>\n<p>Open your browser and type the address of your website <code>yourPagekitSite.com<\/code>, enter the database information and create your first user.<\/p>\n<p>That&#8217;s it. You have successfully installed your Pagekit. For more information about Pagekit, please refer to the Pagekit website.<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>Of course you don\u2019t have to do any of this if you use one of our <a title=\"linux vps hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to setup this for you. They are available 24&#215;7 and will take care of your request immediately.<\/p>\n<p><strong><span style=\"color: #ff0000;\">PS<\/span><\/strong>. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog post we will show you how to install Pagekit on a Debian 7 VPS with Nginx PHP-FPM &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/#more-17015\" aria-label=\"Read more about Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":17018,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1702,1700,13,1712,1707],"tags":[48,177,49,516],"class_list":["post-17015","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-databases","category-debian","category-tutorials","category-web-frameworks","category-web-servers","tag-debian","tag-linux-vps","tag-nginx","tag-pagekit","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB | RoseHosting<\/title>\n<meta name=\"description\" content=\"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB\" \/>\n<meta property=\"og:description\" content=\"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2015-04-07T14:37:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-09T10:28:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/03\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb.png\" \/>\n\t<meta property=\"og:image:width\" content=\"203\" \/>\n\t<meta property=\"og:image:height\" content=\"115\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB\",\"datePublished\":\"2015-04-07T14:37:04+00:00\",\"dateModified\":\"2026-02-09T10:28:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\\\/\"},\"wordCount\":398,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb.png\",\"keywords\":[\"debian\",\"linux vps\",\"nginx\",\"pagekit\"],\"articleSection\":[\"Databases\",\"Debian\",\"Tutorials\",\"Web Frameworks\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\\\/\",\"name\":\"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb.png\",\"datePublished\":\"2015-04-07T14:37:04+00:00\",\"dateModified\":\"2026-02-09T10:28:05+00:00\",\"description\":\"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb.png\",\"width\":203,\"height\":115},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB | RoseHosting","description":"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/","og_locale":"en_US","og_type":"article","og_title":"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB","og_description":"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2015-04-07T14:37:04+00:00","article_modified_time":"2026-02-09T10:28:05+00:00","og_image":[{"width":203,"height":115,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/03\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb.png","type":"image\/png"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB","datePublished":"2015-04-07T14:37:04+00:00","dateModified":"2026-02-09T10:28:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/"},"wordCount":398,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/03\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb.png","keywords":["debian","linux vps","nginx","pagekit"],"articleSection":["Databases","Debian","Tutorials","Web Frameworks","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/","url":"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/","name":"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/03\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb.png","datePublished":"2015-04-07T14:37:04+00:00","dateModified":"2026-02-09T10:28:05+00:00","description":"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/03\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/03\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb.png","width":203,"height":115},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/install-pagekit-on-a-debian-7-vps-with-nginx-php-fpm-and-mariadb\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install Pagekit on a Debian 7 VPS with Nginx, PHP-FPM and MariaDB"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/17015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=17015"}],"version-history":[{"count":2,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/17015\/revisions"}],"predecessor-version":[{"id":51577,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/17015\/revisions\/51577"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/17018"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=17015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=17015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=17015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}