• 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

What is the difference between client-side and server-side programming?

Codeigniter, Severity: error --> Exception: Too few arguments to function, admin dashboard shows HTTP error 500

Laravel SQL query midnight time not showing

How in Laravel run JavaScript code stored in php variable?

how to hide previous markers when new markers added in google map javascript api

laravel automatically deletes server.php on php artisan serve

If you intend you use SMTP, add your SMTP Code after this Line

Printing more than one array using print_r or any other function in php

How to create a cookie to store the timestamp of when a page is first loaded with php

How to insert data from multiple select dropdown values into database?

Composer Script echo

How to Install Composer Require doctrine/dbal

CodeIgniter force_download is not working

could not find driver Debian SQL Server PHP

Last order would be re-order in wooCommerce. How is it possible?

About Contact Privacy policy Terms and conditions