• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Laravel dosen't connect with Oracle

phplaravellaravel-4oracle11goracle-sqldeveloper


PHP Snippet 1:

'oracle' => array(
       'driver' => 'oracle',
       'tns' => '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.152.189)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))',
       //'host' => '192.168.152.189',// this is my server IP
       //'port' => '1521',
       'database' => '',
       'username' => 'ocpl',
       'password' => '123456',
       'charset' => 'AL32UTF8',
       'prefix' => '',
),

PHP Snippet 2:

Select instance_name from v$instance;

Related Snippets

Get image type from base64 encoded src string

How to extract price from given url using Xpath?

Wordpress how to get the post thumbnail inside a figure tag

How to retrieve Active Directory group policy maximum password age using LDAP

Results page in other window

How to edit Records using CodeIgniter

Laravel 5 session not persisting after user is logged in

How to get Laravel's CSRF Token from Another Website?

html-php form submission after validation through JavaScript [closed]

Filter WooCommerce related products by Polylang language

Magento 2 - How to add new block to admin panel in product page?

Select option menu read from database and use it's values

send email using gmail-api and google-api-php-client

Sum array values of a column within each column of an array with 3 levels

Combine array with same value and add other [duplicate]

About Contact Privacy policy Terms and conditions