You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Installing DreamFactory/windows-installation.md
+45-1
Original file line number
Diff line number
Diff line change
@@ -203,7 +203,7 @@ The v17 and v18 drivers should have been installed during the previous steps, if
203
203
204
204
Open the Windows_5.12.0RTW.zip downloaded earlier, in the x64 folder there should be 4 .dll files. Copy/paste the **two** nts (Non Thread Safe) .dll into your php ext folder (`C:\php\ext\`)
205
205
206
-
Then, rename both files removing the "_81_nts" at the end of the filename. The files are named:
206
+
Then, rename both files removing the "_83_nts" at the end of the filename. The files are named:
207
207
208
208
- php_pdo_sqlsrv.dll
209
209
- php_sqlsrv.dll
@@ -363,3 +363,47 @@ After completing the setup, you can navigate to the server's IP address or hostn
363
363
## Adding SSL
364
364
365
365
For details on adding SSL, DreamFactory recommends using [certbot](https://certbot.eff.org/instructions?ws=other&os=windows). Follow the instructions from the provided link to help you through the process.
366
+
367
+
## Installing Oracle Driver
368
+
The process of installing Oracle drivers is a more manual process than with our Linux installers. To begin you will need to download 3 things:
369
+
- The Oracle "Basic" Instant Client package from [Oracle's Website](https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html) (Example file instantclient-basic-windows.x64-23.7.0.25.01.zip)
370
+
- The Oracle “SDK” Instant Client Package from [Oracle's Website](https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html) (Example file instantclient-sdk-windows.x64-23.7.0.25.01.zip)
371
+
- The PHP oci8 extension (DLL) available at [Pecl PHP Site](https://pecl.php.net/package/oci8) By default, DreamFactory runs on PHP 8.3 so you will want the x64 package of that (version 3.2.1). If you are running DreamFactory using IIS as your webserver you must be using the non thread safe version of PHP.
372
+
373
+

374
+
-`Note you will want to click on the DLL button under downloads on the Pecl site for windows .dll files`
375
+
-`Unless you have good reason, choose the appropriate DLLs with the NTS tag`
376
+
377
+
- Next you will create a folder where the Oracle drivers will be kept, for example `C:\oracledrivers` and extract the Oracle "Basic" Instant Client there. The files will be extracted into a subdirectory called `instantclient_<version>.` Example:
378
+
379
+
`C:\oracledrivers\instantclient23_7`
380
+
381
+
- Next we will extract the "SDK" Instant Client to the same folder i.e. `C:\oracledrivers`. We want the SDK package to extract into the same subdirectory as in the previous step, not a new folder. Your driver folder should look like this:
Next, we need to add the full path of the Instant Client to the environment variables OCI_LIB64 and PATH. The quickest way to get to Environment Variables is to use the windows search bar and search for "environment" click on Environment Variables and then:
392
+
393
+
1. Under System Variables, create OCI_LIB64 if it does not already exist. Set the value of OCI_LIB64 to the full path of the location of Instant Client.
Almost there! Now, the last thing to do is to extract our PHP OCI8 extension package (It will be named along the lines of php_oci8-3.2.1-8.3-nts-vc15-x64) and move the php_oci8.dll file to the ext directory where PHP is located on your system (e.g PHP\v8.3\ext). Once that is done add extension=php_oci8.dll to your php.ini file and then restart the IIS server (use php -m to make sure that the oci8 extension is installed). Congratulations!
0 commit comments