CONFIGURE ORACLE DATABASE IN PHP DEVELOPMENT ENVIRONMENT

Dillinger

Three things needed for connecting with oracle database with PHP.

  • PHP
  • OCI
  • Instant Client

Those three option should be the same version, same configuration with with each one. Suppose, if our machine has 64bit , then PHP, OCI and instant client should be the same 64Bit system.

Step 1: Download PHP 7.2

Here, things to notice is:

  • PHP version 7.2
  • TS version
  • VC 15
  • x64

I explain what those words mean. First, TS mean it is thread safe. That mean, this program can multitask or multi threading enabled. Second, VC 15 means, VC15 (Visual Studio 2015 compiler) and include improvements in performance and stability. And we all know that x64 architecture.