• 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 do I call a php file with axios?

How to create custom authentication in laravel 8?

Webscraping Symfony/Panther: Can't get HTML

How to run or debug php on Visual Studio Code (VSCode)

Laravel update hasMany relationship using saveMany

MySQL order by field in Eloquent

laravel 5.6 bulk inserting json data

Form repeater send wrong data with last element in Laravel

"There is no active transaction" when refreshing database in Laravel 8.0 test

PHP DOTENV unable to load env vars

PHP: How to raise number to (tiny) fractional exponent?

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

Login if user is active using Laravel Breeze

Query Optimization, changing the queries in the loop into a single processing query

Failing validation doesn't stop code execution in livewire component

About Contact Privacy policy Terms and conditions