WinNMP - Advanced usage and Debugging

What to do if a Local Virtual Server cannot be reached

After adding a new project with a local test domain name like myprojectname.test you should test in the browser if it is reachable by browsing to http://myprojectname.test. If it is unreachable you should try the following:

How to Debug Configuration Files:

After changing the configuration files, one server like nginx might refuse start. In order to find out the reason, you need to Check Configuration Syntax:

How to Clone/Sync WinNMP stack to a new machine:

You can safely move the WinNMP stack without loosing any data, projects, databases or settings. Run WinNMP installer once on the new machine, then overwrite/sync the whole WinNMP folder with the cloned one.

For example, syncing your work from C:\MyWork\WinNMP on Machine1 to D:\WinNMP on Machine2 should be done by running the installer once on Macine2 (and choosing D:\WinNMP as destination) then overwriting D:\WinNMP each time you need to sync your work.

If you move WinNMP stack to a new machine without running the installer, PHP 5.5 and later might refuse to start, because it requires Visual C++ Redistributable for Visual Studio 2012. You can install it manually from here. It will not run on windows XP.

If MariaDb Crashes after upgrade

If you upgrade WinNMP and you find that MariaDB dose not start, try the following:

Also don't forget to backup your databases regulary..

How set / change / reset mysql(mariadb) root password:

When you log in to Adminer, you use mysql(mariadb) root account, which by default has no password

In order to set mysql(mariadb) root password, open a command prompt and type C:\WinNMP\bin\MySql\bin\mysqladmin -u root password NEWPASSWORD

In order to change mysql(mariadb) root password, open a command prompt and type C:\WinNMP\bin\MySql\bin\mysqladmin -u root -p'oldpassword' password NEWPASSWORD

If you forgot the mysql(mariadb) root password, you can reset all user accounts by running C:\WinNMP\bin\MySql\bin\mysql_install_db -d c:\WinNMP\data

How to Install Extras:

Let`s say you want to use Nginx 1.2.x instead of the currently installed version, or PHP 5.3.x