{"id":3234,"date":"2016-08-20T06:51:58","date_gmt":"2016-08-20T06:51:58","guid":{"rendered":"http:\/\/hostileblog.com\/?p=3234"},"modified":"2020-05-30T21:38:02","modified_gmt":"2020-05-31T01:38:02","slug":"nginx-php-fpm-mysql-stack-windows","status":"publish","type":"post","link":"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/","title":{"rendered":"Best Nginx PHP-FPM MySQL (MariaDB) stack for Windows"},"content":{"rendered":"\n

I own a laptop which has a dedicated graphics card. I am a developer who prefers using Linux<\/span> OS<\/span>. I’ve tried 3 distros of Linux<\/span>, Mint, Ubuntu, OpenSuse. No matter what version<\/span> of Linux<\/span> I use, the OS<\/span> fails to recognize the AMD graphics card in my laptop and the WiFi connection always drops. I fixed the WiFi issue by upgrading the driver but the GPU installation always fails. Hence, I decided to give up using Linux<\/span> and stick with Windows 10 OS<\/span> for development tasks.<\/p>\n\n\n\n

I own three sites which are powered by Nginx web server<\/span> and PHP<\/span>. I have started coding a new site which I’ll deploy it along with my other websites<\/span>. As I decided not to waste time with Linux<\/span> OS<\/span>, I was searching for a NGINX, PHP<\/span>-FPM, MySQL<\/span> stack for Windows.<\/p>\n\n\n\n

After researching for a couple of hours on Google<\/span>, I found a great open-source software called WPN-XM.<\/p>\n\n\n\n

\"wpn-xm<\/figure>\n\n\n\n

WPN-XM development stack<\/span> overview and features<\/h3>\n\n\n\n

WPN-XM is similar to WAMP, XAMPP development stacks for Windows. It provides a one-click option to start, restart, and stop NGINX, MySQL<\/a>, PHP-FPM<\/span>. It is a LEMP stack for the Microsoft Windows OS<\/span>.<\/p>\n\n\n\n

When you use WPN-XM. your default project folder (Nginx root in the default configuration file<\/span>) is on the partition where you have installed Windows OS<\/span>. On my laptop, location is “C:server<\/span>www”.<\/p>\n\n\n\n

You can use your favorite IDE<\/span> or code editor software to create a project in the folder I’ve mentioned above.<\/p>\n\n\n\n

Once you install WPN-XM stack<\/span>, the software<\/span> will automatically create configuration files<\/span> for Nginx, PHP-FPM<\/span>, and MySQL<\/span> (MariaDB). You can find the config files<\/span> at the location in Windows “C:server<\/span>bin”.<\/p>\n\n\n\n

You don’t require administrator permissions for tweaking the config files<\/span>.<\/p>\n\n\n\n

As I have mentioned earlier, WPN-XM allows users<\/span> to:<\/p>\n\n\n\n

Manage Hosts<\/strong>: If you are using Windows as an administrator, you can add new hosts in Windows OS<\/span> through the WPN-XM add hosts module.<\/p>\n\n\n\n

Manage PHP<\/span> Extensions<\/strong>: You can add new extensions for PHP<\/span> or disable existing ones easily with the WPN-XM interface.<\/p>\n\n\n\n

Check PHP<\/span> info<\/strong>: Want to check the PHP<\/span> configuration<\/span>? Simply click on the PHP<\/span> info menu on the web-interface.<\/p>\n\n\n\n

Go through access<\/span>, error<\/span> logs<\/span>: <\/strong>The interface lets you check the error<\/span> and access logs<\/span> created and maintained by MySQL<\/span>, Nginx, and PHP-FPM<\/span>.<\/p>\n\n\n\n

Download and Installation<\/h3>\n\n\n\n

You can grab the setup file<\/span> for WPN-XM stack from its official website<\/a>. The software<\/span> supports PHP<\/span> 5.5, 5.6, and PHP<\/span> 7.0.<\/p>\n","protected":false},"excerpt":{"rendered":"

I own a laptop which has a dedicated graphics card. I am a developer who prefers using Linux OS. I’ve tried 3 distros of Linux, Mint, Ubuntu, OpenSuse. No matter what version of Linux I use, the OS fails to recognize the AMD graphics card in my laptop and the WiFi connection always drops. I fixed […]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[11413,7014,7036,7038],"post_series":[],"yoast_head":"\nBest Nginx PHP-FPM MySQL (MariaDB) stack for Windows - Ian Carnaghan<\/title>\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.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Best Nginx PHP-FPM MySQL (MariaDB) stack for Windows - Ian Carnaghan\" \/>\n<meta property=\"og:description\" content=\"I own a laptop which has a dedicated graphics card. I am a developer who prefers using Linux OS. I’ve tried 3 distros of Linux, Mint, Ubuntu, OpenSuse. No matter what version of Linux I use, the OS fails to recognize the AMD graphics card in my laptop and the WiFi connection always drops. I fixed […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/\" \/>\n<meta property=\"og:site_name\" content=\"Ian Carnaghan\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-20T06:51:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-31T01:38:02+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2016\/08\/wpn-xm.jpg\" \/>\n<meta name=\"author\" content=\"Pramod\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@icarnaghan\" \/>\n<meta name=\"twitter:site\" content=\"@icarnaghan\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pramod\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/\"},\"author\":{\"name\":\"Pramod\",\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/f52a97a0d4f7b309922ab0381d337bbb\"},\"headline\":\"Best Nginx PHP-FPM MySQL (MariaDB) stack for Windows\",\"datePublished\":\"2016-08-20T06:51:58+00:00\",\"dateModified\":\"2020-05-31T01:38:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/\"},\"wordCount\":415,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5\"},\"image\":{\"@id\":\"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2016\/08\/wpn-xm.jpg\",\"keywords\":[\"Affiliate\",\"Development Stack\",\"MySQL\",\"Nginx\"],\"articleSection\":[\"Coding\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/\",\"url\":\"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/\",\"name\":\"Best Nginx PHP-FPM MySQL (MariaDB) stack for Windows - Ian Carnaghan\",\"isPartOf\":{\"@id\":\"https:\/\/www.carnaghan.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2016\/08\/wpn-xm.jpg\",\"datePublished\":\"2016-08-20T06:51:58+00:00\",\"dateModified\":\"2020-05-31T01:38:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#primaryimage\",\"url\":\"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2016\/08\/wpn-xm.jpg\",\"contentUrl\":\"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2016\/08\/wpn-xm.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.carnaghan.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Best Nginx PHP-FPM MySQL (MariaDB) stack for Windows\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.carnaghan.com\/#website\",\"url\":\"https:\/\/www.carnaghan.com\/\",\"name\":\"Ian Carnaghan\",\"description\":\"Software Developer, Blogger, Educator\",\"publisher\":{\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.carnaghan.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5\",\"name\":\"Ian Carnaghan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f2aa5baca80c2be728de43a975185d91?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f2aa5baca80c2be728de43a975185d91?s=96&d=retro&r=g\",\"caption\":\"Ian Carnaghan\"},\"logo\":{\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/\"},\"description\":\"I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.\",\"sameAs\":[\"http:\/\/www.carnaghan.com\",\"https:\/\/x.com\/icarnaghan\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/f52a97a0d4f7b309922ab0381d337bbb\",\"name\":\"Pramod\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9b9cc255f2495f5394b801428d7d6929?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9b9cc255f2495f5394b801428d7d6929?s=96&d=retro&r=g\",\"caption\":\"Pramod\"},\"description\":\"My name is Pramod. I\u2019m a software developer (with good knowledge on PHP, JAVA \u2013 Android, JavaScript, CSS), blogger and online marketing professional. I\u2019ve 3 years of experience as a blogger and 2 years of full time experience as a software developer.\",\"url\":\"https:\/\/www.carnaghan.com\/author\/prhost78\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Best Nginx PHP-FPM MySQL (MariaDB) stack for Windows - Ian Carnaghan","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.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/","og_locale":"en_US","og_type":"article","og_title":"Best Nginx PHP-FPM MySQL (MariaDB) stack for Windows - Ian Carnaghan","og_description":"I own a laptop which has a dedicated graphics card. I am a developer who prefers using Linux OS. I’ve tried 3 distros of Linux, Mint, Ubuntu, OpenSuse. No matter what version of Linux I use, the OS fails to recognize the AMD graphics card in my laptop and the WiFi connection always drops. I fixed […]","og_url":"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/","og_site_name":"Ian Carnaghan","article_published_time":"2016-08-20T06:51:58+00:00","article_modified_time":"2020-05-31T01:38:02+00:00","og_image":[{"url":"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2016\/08\/wpn-xm.jpg"}],"author":"Pramod","twitter_card":"summary_large_image","twitter_creator":"@icarnaghan","twitter_site":"@icarnaghan","twitter_misc":{"Written by":"Pramod","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#article","isPartOf":{"@id":"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/"},"author":{"name":"Pramod","@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/f52a97a0d4f7b309922ab0381d337bbb"},"headline":"Best Nginx PHP-FPM MySQL (MariaDB) stack for Windows","datePublished":"2016-08-20T06:51:58+00:00","dateModified":"2020-05-31T01:38:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/"},"wordCount":415,"commentCount":0,"publisher":{"@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5"},"image":{"@id":"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#primaryimage"},"thumbnailUrl":"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2016\/08\/wpn-xm.jpg","keywords":["Affiliate","Development Stack","MySQL","Nginx"],"articleSection":["Coding"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/","url":"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/","name":"Best Nginx PHP-FPM MySQL (MariaDB) stack for Windows - Ian Carnaghan","isPartOf":{"@id":"https:\/\/www.carnaghan.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#primaryimage"},"image":{"@id":"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#primaryimage"},"thumbnailUrl":"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2016\/08\/wpn-xm.jpg","datePublished":"2016-08-20T06:51:58+00:00","dateModified":"2020-05-31T01:38:02+00:00","breadcrumb":{"@id":"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#primaryimage","url":"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2016\/08\/wpn-xm.jpg","contentUrl":"http:\/\/www.carnaghan.com\/wp-content\/uploads\/2016\/08\/wpn-xm.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.carnaghan.com\/nginx-php-fpm-mysql-stack-windows\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.carnaghan.com\/"},{"@type":"ListItem","position":2,"name":"Best Nginx PHP-FPM MySQL (MariaDB) stack for Windows"}]},{"@type":"WebSite","@id":"https:\/\/www.carnaghan.com\/#website","url":"https:\/\/www.carnaghan.com\/","name":"Ian Carnaghan","description":"Software Developer, Blogger, Educator","publisher":{"@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.carnaghan.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/c689c24d516c51968a88b628860740a5","name":"Ian Carnaghan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f2aa5baca80c2be728de43a975185d91?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f2aa5baca80c2be728de43a975185d91?s=96&d=retro&r=g","caption":"Ian Carnaghan"},"logo":{"@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/"},"description":"I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.","sameAs":["http:\/\/www.carnaghan.com","https:\/\/x.com\/icarnaghan"]},{"@type":"Person","@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/f52a97a0d4f7b309922ab0381d337bbb","name":"Pramod","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.carnaghan.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9b9cc255f2495f5394b801428d7d6929?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9b9cc255f2495f5394b801428d7d6929?s=96&d=retro&r=g","caption":"Pramod"},"description":"My name is Pramod. I\u2019m a software developer (with good knowledge on PHP, JAVA \u2013 Android, JavaScript, CSS), blogger and online marketing professional. I\u2019ve 3 years of experience as a blogger and 2 years of full time experience as a software developer.","url":"https:\/\/www.carnaghan.com\/author\/prhost78\/"}]}},"views":2013,"_links":{"self":[{"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/posts\/3234"}],"collection":[{"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/comments?post=3234"}],"version-history":[{"count":0,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/posts\/3234\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/media?parent=3234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/categories?post=3234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/tags?post=3234"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/www.carnaghan.com\/wp-json\/wp\/v2\/post_series?post=3234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}