Oracle DB Installation
From DreamFactory
Drewpearce (Talk | contribs) |
Drewpearce (Talk | contribs) |
||
Line 5: | Line 5: | ||
**You will also need an Oracle login for this (free registration.) | **You will also need an Oracle login for this (free registration.) | ||
*Extract the zip file to your preferred location, such as C:\instantclient_11_2 | *Extract the zip file to your preferred location, such as C:\instantclient_11_2 | ||
− | *Edit the php.ini file (C:\Bitnami\dreamfactory-x.x.x-x\php\php.ini) | + | *Edit the php.ini file (''C:\Bitnami\dreamfactory-x.x.x-x\php\php.ini'') |
**Uncomment (remove the semicolon) from the line that says <source lang=bash>;extension=php_oci8_11g.dll</source> | **Uncomment (remove the semicolon) from the line that says <source lang=bash>;extension=php_oci8_11g.dll</source> | ||
*Edit your PATH variable. | *Edit your PATH variable. | ||
Line 19: | Line 19: | ||
**You will need to download the appropriate version for your version of Oracle (i.e Instant Client 11 goes with Oracle 11g server.) | **You will need to download the appropriate version for your version of Oracle (i.e Instant Client 11 goes with Oracle 11g server.) | ||
**You will also need an Oracle login for this (free registration.) | **You will also need an Oracle login for this (free registration.) | ||
− | *Extract the zip file to your preferred location, such as ~/instantclient_11_2 | + | *Extract the zip file to your preferred location, such as ''~/instantclient_11_2'' |
− | *Edit the php.ini file (~/dreamfactory-x.x.x-x/php/php.ini) | + | *Edit the php.ini file (''~/dreamfactory-x.x.x-x/php/php.ini)'' |
**Uncomment (remove the semicolon) from the line that says <source lang=bash>;extension=oci8.so</source> | **Uncomment (remove the semicolon) from the line that says <source lang=bash>;extension=oci8.so</source> | ||
+ | *Edit the setenv.sh file ( ''~/dreamfactory-2.0.2-0/scripts/build-setenv.sh'' ) | ||
+ | **Add the following to the end of the file, just before the line that says ''. /home/user/dreamfactory-2.0.2-0/scripts/build-setenv.sh'' | ||
+ | **<source lang=bash>LD_LIBRARY_PATH=/home/bitnami/instantclient_11_2:$LD_LIBRARY_PATH | ||
+ | export LD_LIBRARY_PATH</source> | ||
####Manual Install from Github on Linux | ####Manual Install from Github on Linux |
Revision as of 18:03, 16 December 2015
- Drivers
- Windows (Bitnami)
- Drivers
- Download the Oracle Instant Client [here](http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html).
- You will need to download the appropriate version for your version of Oracle (i.e Instant Client 11 goes with Oracle 11g server.)
- You will also need an Oracle login for this (free registration.)
- Extract the zip file to your preferred location, such as C:\instantclient_11_2
- Edit the php.ini file (C:\Bitnami\dreamfactory-x.x.x-x\php\php.ini)
- Uncomment (remove the semicolon) from the line that says
;extension=php_oci8_11g.dll
- Uncomment (remove the semicolon) from the line that says
- Edit your PATH variable.
- Go to Control Panel->System->Advanced System Settings
- Click on Environment Variables
- Under System variables, double click on Path.
- At the end of the Variable value, add the path to the instant client directory (see above.) Use a semicolon to separate this new entry from the current last entry.
;C:\instantclient_11_2
- Restart the system
- Linux
- Bitnami Linux Install
- Linux
- Download the Oracle Instant Client [here](http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html).
- You will need to download the appropriate version for your version of Oracle (i.e Instant Client 11 goes with Oracle 11g server.)
- You will also need an Oracle login for this (free registration.)
- Extract the zip file to your preferred location, such as ~/instantclient_11_2
- Edit the php.ini file (~/dreamfactory-x.x.x-x/php/php.ini)
- Uncomment (remove the semicolon) from the line that says
;extension=oci8.so
- Uncomment (remove the semicolon) from the line that says
- Edit the setenv.sh file ( ~/dreamfactory-2.0.2-0/scripts/build-setenv.sh )
- Add the following to the end of the file, just before the line that says . /home/user/dreamfactory-2.0.2-0/scripts/build-setenv.sh
LD_LIBRARY_PATH=/home/bitnami/instantclient_11_2:$LD_LIBRARY_PATH
- Manual Install from Github on Linux