User Guide

System Requirements

Apr 7, 2007 – Onpub works on any operating system (Windows, Linux/Unix, OS X, etc.) and web server (Apache, IIS, etc.) that supports the following PHP/MySQL requirements. PHP PHP version 5.2 or newer PDO...Read more.Read more

Quick Install Guide

Apr 17, 2007 – Unzip the Onpub download. Transfer the resulting onpub folder to your web server's public HTML directory. On Windows this is usually C:\inetpub\wwwroot by default. On Linux the default is /var/www...Read more.Read more

How to Install Onpub on Windows

Jul 7, 2010 – Follow the steps in this article to install Onpub on Windows using IIS as your web server. Install Required Software Onpub requires both MySQL and PHP. We've provided direct download...Read more.Read more

Onpub Directory Structure

Jan 6, 2010 – Unzipping the Onpub download file results in the following file/directory hierarchy: onpub/: The root of the Onpub install. Also known as the Onpub installation directory. api/: Contains all the necessary...Read more.Read more

Create a MySQL Database and User Account

Oct 16, 2008 – To connect to your MySQL server, type or paste in the following command in a Terminal or Command Prompt and press Enter. mysql -u root -p Enter your MySQL server's...Read more.Read more

Change the Default MySQL Host

Nov 3, 2009 – By default, Onpub attempts to connect to a MySQL server running on localhost (127.0.0.1) when you login to the content management interface. If your MySQL server runs remotely, then perform...Read more.Read more

Login to Onpub

Nov 18, 2008 – Load the following URL in your web browser to login: http://localhost/onpub/manage/index.php Replace localhost in the above URL with your web server's hostname if you are not running Onpub locally. The...Read more.Read more

Create an Onpub Website

Jan 21, 2010 – In order to create your first Onpub-powered website, you must first make sure Onpub is installed and functioning correctly. To verify this, login to Onpub and make sure no errors...Read more.Read more

Configure the Website Frontend

Apr 6, 2010 – Onpub includes a configuration file named onpub_conf.php. This file defines various config variables that tell the frontend how to connect to the database, what page width to use, what CSS...Read more.Read more

Frontend Configuration Reference

Jun 4, 2010 – The table below lists all the configuration variables present in the default onpub_conf.php config file. The table also lists each variable's default value along with possible alternate values. Paste variable...Read more.Read more