• 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

Dropzone: Submit both form data and dropzone at once

Laravel - Implicit route model binding with soft deleted data

How to render html from a @foreach loop in a textarea

Converting array to string and then back in PHP

PHPUNIT Test - Expected Status 200 But Received 500

Sentry on Symfony: how to exclude `NotFoundHttpException`

how to get value from array in laravel

How to trim a video by 4 fragments to 4 seconds using the PHP-FFMpeg?

Laravel 5 controller sending JSON integer as string

How to create a video stream from a single dynamic image in PHP

Timber: Single post pagination does not work (wp_link_pages)

shell errors running php exec

Yii2: How to download backup files using spanjeta/yii2-backup?

Call to a member function givePermissionTo() on null

PHP's array_map including keys

About Contact Privacy policy Terms and conditions