Openbiz 2.2 Installation

Requirements

PHP 5.1 or greater
 *For installs greater than 5.1.6 see this fix...
1.X Series of Zend Framework or Greater
PDO extension and the PDO_YOURDATABASEOFCHOICE (ie. PDO_Mysql)
Smarty Template Engine
PHP Mailer

A good PHP OpCode caching engine is highly recommended.  Consider using APC or as an alterantive eAccelerator.  A google search should turn up several ways to get them working.

Note: These are requirements for OpenBiz 2.2, for requirements involving 2.0 check here.

Installation

Start by downloading the OpenBiz source here.

Extract the source files in a web accessible directory.  You should see two folders, demoapp and openbiz.  OpenBiz comes with it's own core files as well as any needed libraries such as phpmailer, smarty and Zend FW.

Install the Demo Application by navigating to the following location.
http://*YOUR DOMAIN*/*YOUR OB INSTALL*/demoapp/index.php


 

Configure Database Access

1. Change Config.xml Driver attribute. http://us2.php.net/manual/en/ref.pdo.php#pdo.drivers gives the list of supported PDO drivers.

2. Run Openbiz dempapp by launching http://localhost/ob22/demoapp/demo.html in web browser. The home of the demo event management application is changed to http://localhost/ob22/demoapp/bin/home.php instead of http://localhost/ob22/demoapp/pages/EventMgr.htm in 2.1 version.

Use Your Own Zend Framework
You can optionally use a newer version of the Zend Framework by changing it's associated config file.  The Zend Framework path can be changed in openbiz_home/bin/sysheader.inc. For example, if Zend framework library is under /htdocs/zf101/, the following part is added in sysheader.inc.

// defined Zend framework library home as ZEND_FRWK_HOME
define('ZEND_FRWK_HOME',$_SERVER['DOCUMENT_ROOT']."/zf101/library");
// add zend framework to include path
set_include_path(get_include_path() . PATH_SEPARATOR . ZEND_FRWK_HOME);

 

Upgrade Tips

Openbiz release zip file has 2 directories - openbiz and demoapp. Openbiz directory has the core openbiz classes library, while demoapp has openbiz core javascript files as well as all application code, metadata and template files. Keep in mind the template files have critical code to work with BizForm.

1. Download new Openbiz release and overwrite the old openbiz directory

2. Say your current application is under myapp directory. You need to

  • Copy demoapp/js directory to myapp/js. Do merge files if you make change on these js files.
  • Copy demoapp/templates/*.* to myapp/templates/. Do merge file if you make change on demoapp template files. Don't delete your own application specific templates.