How can I enable the oci8 extension of php when xampp-laravel is connected to oracle?

Source: Internet
Author: User
Laravel connection oracle problems learned through composer installed yajralaravel-oci8, in configapp. added YajraOci8Oci8ServiceProvider: class to php. after the terminal Executes $ phpartisanvendor: publish -- tagoracle, It configures config... laravel connection to oracle

It is learned that the yajra/laravel-oci8 is installed through composer and added to config/app. phpYajra \ Oci8 \ Oci8ServiceProvider: class, Terminal execution$ Php artisan vendor: publish -- tag = oracleAfter configuring oracle. php in config, an error is returned when connecting to the database.

The instantclient of oracle has been deployed, environment variables have been added to the system path, and the php. iniExtension = php_oci8_12c.dllThe problem still exists. it seems that the oci8 extension is not enabled according to the output result of phpinfo ().

Reply: laravel connection to oracle

It is learned that the yajra/laravel-oci8 is installed through composer and added to config/app. phpYajra \ Oci8 \ Oci8ServiceProvider: class, Terminal execution$ Php artisan vendor: publish -- tag = oracleAfter configuring oracle. php in config, an error is returned when connecting to the database.

The instantclient of oracle has been deployed, environment variables have been added to the system path, and the php. iniExtension = php_oci8_12c.dllThe problem still exists. it seems that the oci8 extension is not enabled according to the output result of phpinfo ().

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.