Package PHP Application as a Native Desktop Application – punBB Example!

In a real world scenario punBB is usually installed on a web server and available to everyone for use. However, in this post I will show you how you can package punBB as a desktop application to illustrate what you can accomplish with Nightrain – the PHP Desktop Packager. If you can package something as powerful as punBB… then you can rest assured package any PHP script with Nightrain.

Here’s how the end result looks like:

punBB Example!

Project Files

Let’s Get Started

Here are the steps you have to take in a nutshell.

  • Download punBB
  • Copy punBB to nightrain /www folder
  • Start Nightrain
  • Follow the on-screen Installation steps
  • Distribute the package

Download punBB

Installing the Application

  • Double-click nightrain.exe/ to start nightrain

And you should see a screen like below:

punBB Install Step 1

  • Click install.php
  • Enter the following information

punBB Install Step 2

  • Scroll down and click “Start install”
  • And you should see a screen like below:

punBB Install Step 3

You are done!

Roosevelt Purification is the founder and the CEO of Naetech, LLC. Spending most of his time learning new things, testing everything he can and innovating everything that comes at his way!

4 Responses

  • Dec 29, 2013

    I have downloded your software (2.0) but nightrain.exe seems to be corrupt can you send me a good one

    Romolo Dec 29, 2013
  • Roosevelt P
    Dec 29, 2013

    Hi Romolo,

    Could you tell me what error you are getting? Or if the executable is failing to start all together?

    Make sure you have downloaded nightrain from here:


    Roosevelt P Dec 29, 2013
  • joshua jourdain
    Jan 31, 2014

    any help with the following error would be greatly appreciated:
    Fatal error: Call to undefined function mysqli_connect() in /Users/joshuajourdain/Downloads/nightrain.release.2.0.mac.64/www/includes/connection.php on line 2

    is mysql supported in nightrain? if not, can it be configured?

    joshua jourdain Jan 31, 2014
  • Ernesto
    Feb 27, 2014

    Hi, the windows version always say that it´s not a valid win32 application.

    Any solution?

    Ernesto Feb 27, 2014

Leave a Reply

Your email address will not be published. Required fields are marked *

4 × = sixteen