• 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

Explode not working properly with dash

renameColumn migration fails for existing column with columns does not exist error

Normalize DateInterval in PHP

PHP how to detect if running on arm64 cpu?

Mysqli Output to a table

add uri parameter to Route name in laravel

Testing subscription renewals on Stripe

PHP - Store information with NO database

PHP to search within txt file and echo the whole line

Comma separated list from array with "and" before last element

IlluminateDatabaseQueryException: SQLSTATE[HY000]: General error: 1 no such table - In clone project

How can I format this number correctly using PHP?

Create a zip file and download it

Create a new line whenever an array value reaches more than 10 characters

Merge column values from two arrays to form an indexed array of associative arrays

About Contact Privacy policy Terms and conditions