OpenPro Install Instructions
The rest of the manual is broken down into Windows and Unix.
IIS for windows Operating System installs as part of the operating system.
Windows requirements 20XX servers. For demo purposes we have instruction on how to install on a XP Professional work station.
Linux and Unix depending on the version will install the web server if not Unix Apache 2 installation instructions are located at the following location:
http://www.php.net/downloads.php is where php can be download and its load on the cd php folder. Php-version#-installer.exe
Begin installation double click on the installer exe. Note OpenPro runs versions php 5 and 7
Next
If your SMTP server is not local to the machine installing PHP, change it to your mail server. Set the E-Mail to any name (preferably admin), @, and the website or IP (not including WWW).
IIS - Next select your web server windows default is IIS.
The install folder can be anywhere (C:\phpX is preferred).
The Start Menu name can be anything.
Next.
Installation
Go to the c:\Windows folder, find php.ini and edit it. Or on our cd we have a sample php.ini file you can use located in the php folder of the installation CD.
Find the extensions and remove any semicolons from:
php_sqlite.dll
php_mssql.dll
php_oci8.dll
php_pgsql.dll
php_adodb.dll
php_imap.dll
php_curl.dll
php_gd2.dll
php_domxml.dll
php_mhash.dll
php_openssl.dll
php_oracle.dll
php_pdf.dll and
php_sockets.dll
UNIVERSAL PHP.INI PORTION version 5 series
Ensure register_globals is set to On. Save.
For php 7 series:
Other items based upon usage and number of users are
For older versions of apache Find the line that holds the DirectoryIndex options. Each index is separated by a space. Make sure that both index.html and index.php are listed, and index.html precedes index.php. Examples of httpd.conf are in the apache folder on the CD.
Download and run the free loader installation process.
System Requirements
Make sure your system meets the following requirements.
Operating System
Unix/Linux Operating System
Windows Users: Please take a look at the Windows IIS Setup document.
Secure Certificate
SSL (HTTPS) Recommended
Using a SSL or Secure Certificate will show your customers that ordering from your website is safe and secure.
PHP
PHP Version older systems > 4.1.x or 5.2.x but openpro uses version 5.3 to php 7
Most servers are already setup with the latest PHP version. To learn more, visit: http://www.php.net.
php.ini Settings
Every PHP install has a php.ini file. The php.ini file is the main configuration file for your PHP install. Remember to restart
your web server every time you update your php.ini file. There are two ways to verify that you have the following set in
your php.ini file. The first way is to locate the php.ini file on your server, open the file, and search on the following
variables. Change accordingly. The second way is to create a phpinfo() file on your web server and view it via any web
browser. The second method is for more advanced users. Make sure your php.ini file has the following variables set:
Zend vs. IonCube
Your ModernBill is available in two encoded versions, Zend and IonCube. The only difference between the two is that Zend must be installed on your server before you can use the Zend encoded version, whereas the IonCube version is pre-installed with your ModernBill system.
CURL is required for credit card processing online with ecommerce
cURL with SSL enabled either complied in PHP or available via the CLI (command line interface)
To learn more about cURL, please view the cURL Setup document.
You can create your database by using a MySQL GUI such as PHPMyAdmin or you can use the command line as follows:
mysqladmin -u USERNAME -h localhost -p create DBNAME
Restore using mysql
If you have to re-build your database from scratch, you can easily restore the mysqldump file by using the mysql command. This method is usually used to recreate or rebuild the database from scratch.
Here's how you would restore your opendemo.sql file to the OpenPro database:
mysql -u openpro -p support openpro < openpdemo.sql
Easy isn't it? Here's the general format you would follow:
mysql -u [username] -p [password] [database_to_restore] < [backupfile]
Then after creating and restoring the database, you can then login to OpenPro system.
<? $sqlhost="localhost"; $sqluser="openprodbuser"; $sqlpass="openprodbpassword"; $sqldb="opendemo"; $sqltype="MySQL"; $default_company="DEMO"; $default_store="DEMO"; //$traceon = true ; $display_sql_errors = 0; $genbarcode_loc="/usr/bin/genbarcode"; $fax_folder = "./fax/"; $server_hostname="server.name"; ?>
sqltype = MySQL, MsSQL, DB2, ORACLE
depending on the purchase product.
Test connection to your database using SQL commands.
<?php //POS Folder $posfolder="../"; $filefolder="../"; $store_id="DEMO"; $companyid="DEMO"; ?>
This outlines the location of files for e-commerce system, the company id and the store id.
open up your explorer and run the program register.php under the openpro folder.
http://localhost/openpro/register.php
Fill out the form as per the attached sheet that came with the software. If everything was filled out correctly it will say Product Key is now Valid on the top of the form.
From your browser, go to: http://localhost/openpro/
It should take you to the following page. If any errors show up make a note of the error and send to supportop @openpro.com.
The demo system you can login as admin with the password of openpro and location of demo. Then go to rules setup and maintain the system rules. See detailed setup instructions in the setup manual.