Follow the steps in this article to install Onpub on Windows using IIS as your web server.
Onpub requires both MySQL and PHP. We've provided direct download links below for your convenience. Onpub should work "out of the box" with the default installation settings for both MySQL and PHP.
Download the latest stable Windows version of MySQL and install to setup the MySQL database server for Windows.
Download the Microsoft Web Platform Installer and install to setup PHP for IIS.
Unzip the latest Onpub .zip download file to the following folder in Windows:
You should now have a folder under the above folder named onpub.
Onpub requires a MySQL database to store the websites you will be creating. In order to setup a MySQL database for use with Onpub, do the following:
Provided the above two MySQL commands were successful, you should now have a MySQL database and account we will be using to complete the Onpub installation.
See this article for more information about setting up a MySQL database for use with Onpub.
Open a web browser and type in the following address to load the Onpub login page:
You should see 3 input fields called Database, Username, and Password.
In the Database field enter onpub (or whatever name you chose for your Onpub MySQL database in the previous section).
In the Username and Password fields enter your MySQL account username and password respectively (this would be the username and password you chose for your MySQL account in the previous section).
See this article for more information about how to login to Onpub.
Provided you entered the correct login information, you should now see the Onpub Welcome screen.
Now that you are logged in to Onpub for the first time, be sure to click the Install missing tables on the Welcome page to install the Onpub schema in to your MySQL database.
If the Onpub tables installed without error, you are now ready to start building websites with Onpub!