• 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

How can I remove the "Advanced" panel of all blocks in WordPress block editor?

Laravel 5.5 change unauthenticated login redirect url

Laravel 4 Redirect::back() not going to previous page (refreshing current page)

carbon generated datetime not stored correctly into the database

Laravel views are showing from cache on one server but works fine on other server

CodeIgniter force_download is not working

Could not decode a text frame as UTF-8.

Having trouble with PDO queries (Notice: Undefined index)

Passing PHP JSON to Javascript: echo json_encode vs echo json declaration

insert multiple rows in a saveall in cakephp

Make survey at laravel 5.4 and MySQL

Group data in a multidimensional array based on two columns

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'name' cannot be null

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'posts.post' doesn't exist

CONCAT columns with Laravel 5 eloquent

About Contact Privacy policy Terms and conditions