• 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

Display Link Title Instead of URL in XSL

Creating live search with AJAX and CodeIgniter

Create tags in laravel post publishing

Show Custom Data in Woocommerce Order Details Admin Area

Spam Filter in Contact Form

Get WooCommerce products from specific category

php: command not found Command PhaseScriptExecution failed with a nonzero exit code

Laravel eloquent update record without loading from database

retrieve data from database using session

Fatal error: Uncaught mysqli_sql_exception: Unknown database 'test' in ... (How do I fix that? Using PHP)

Xdebug 3 not showing in phpinfo on m1 Monterey

How to add a sidebar to Woocommerce Shop Page?

How to connect to MSSQL Server with PHP from Ubuntu 18.04?

How to create custom authentication in laravel 8?

Laravel 5.1 how to use {{ old('') }} helper on blade file for radio inputs

About Contact Privacy policy Terms and conditions