• 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

Laravel Delete and Update

Laravel Carbon get start + end of last week?

Put content of wordpress page inside div

Get image type from base64 encoded src string

How to create laravel storage symbolic link for production or sub domain system?

Yii2 redirecting to previous page after login

Docker & Laravel : configure: error: Package requirements (oniguruma) were not met

How do I set the maximum php memory limit

Add Metadata, headers (Expires, CacheControl) to a file uploaded to Amazon S3 using the Laravel 5.0 Storage facade

correct PHP headers for pdf file download

Laravel 4 Redirect::back() not going to previous page (refreshing current page)

How to properly set "0000-00-00 00:00:00" as a DateTime in PHP

PHP to search within txt file and echo the whole line

How to fix bootstrap multiselect search data using ajax

Telegram bot doesn't answer

About Contact Privacy policy Terms and conditions