• 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

Symfony process run throws exception - executing on command line works

Laravel Blade checkbox not checked

onKeyUp event calculation not working on the following rows from php generated forms except the first one

How can I pass the list to the component variable in Laravel?

php - add comma thousands separator but remove trailing zeros

Sagepay Error The Vendor failed to provide a RedirectionURL

Laravel multi auth - Authentication user provider [] is not defined

array_key_exists(): The first argument should be either a string or an integer

PHP Slim Framework request using withAttribute error

Where do I need to place a hook for phpunit?

Losing session data after POST from third party website

User pool client {id}does not exist

Add a text next to stock quantity if it is less than 10 in Woocommerce single product

Check if string contains a value in array [duplicate]

retrieve data from database using session

About Contact Privacy policy Terms and conditions