• Need help configuring nginx/mysql/php
    6 replies, posted
OS: Windows Server 2008 Standard R2 Current Folder structure: C:\nginx C:\nginx\mysql C:\nginx\php nginx version 1.7.3 Mysql version 5.6.19 (Just downloaded the zip archive (deleted mysql-test and sql-bench folders) PHP version 5.5 (5.5.14) VC11 x86 Thread Safe (2014-Jun-25 23:06:26) I have never setup a webserver from scratch like this so I'm completely in the dark. (used to cpanel and such) Also want to have phpmyadmin installed as well. Any help would be greatly appreciated! Everything I googled was pretty dated as far as mysql and php goes (mainly the mysql my.ini)
I would take a look at WNMP with MySQL: [url="http://xuri.me/2013/06/08/wnmp.html"]Here.[/url] AFAIK there's 3 versions I've found like this: WAMP: Apache, MySQL, PHP WNMP: Nginx, MariaDB, PHP WNMP (2): Nginx, MySQL, PHP I'm sure there's more, I personally use the first. Hopefully the link helps though since that sounds like what you're trying to do.
[QUOTE=WitheredGryphon;45414506]I would take a look at WNMP with MySQL: [url="http://xuri.me/2013/06/08/wnmp.html"]Here.[/url] AFAIK there's 3 versions I've found like this: WAMP: Apache, MySQL, PHP WNMP: Nginx, MariaDB, PHP WNMP (2): Nginx, MySQL, PHP I'm sure there's more, I personally use the first. Hopefully the link helps though since that sounds like what you're trying to do.[/QUOTE] Thanks for that link, this might help. Still hoping to find a non mysql install and just file config way but if it comes down to it ill try just installing it on the server.
A cleaner way than those weird batch files would be starting your servers as services. Nginx does not support that right now though, and its Windows port is in beta anyway. Just use Apache, it'll do fine.
[QUOTE=WitheredGryphon;45414506]I would take a look at WNMP with MySQL: [url="http://xuri.me/2013/06/08/wnmp.html"]Here.[/url] AFAIK there's 3 versions I've found like this: WAMP: Apache, MySQL, PHP WNMP: Nginx, MariaDB, PHP WNMP (2): Nginx, MySQL, PHP I'm sure there's more, I personally use the first. Hopefully the link helps though since that sounds like what you're trying to do.[/QUOTE] These are generally built for local development not production use, so if you're going to actually be exposing this server to the internet, don't use one of those packages. They often times have loose security settings to make local dev stuff a little smoother.
[QUOTE=KmartSqrl;45428923]These are generally built for local development not production use, so if you're going to actually be exposing this server to the internet, don't use one of those packages. They often times have loose security settings to make local dev stuff a little smoother.[/QUOTE] The link posted is not actually an all-in-one package, just a tutorial on how to set up Nginx with PHP in FastCGI. Still, running Nginx on Windows in production is not recommended (as I said, it doesn't even run as a service) and that tutorial doesn't tell you to remove that phpinfo file used to verify that PHP is working.
I've gotten all this sorted, thanks though :)
Sorry, you need to Log In to post a reply to this thread.