【问题标题】:Connect PHP to Oracle 12c on Oracle Linux 7.2在 Oracle Linux 7.2 上将 PHP 连接到 Oracle 12c
【发布时间】:2018-07-11 12:30:12
【问题描述】:

我已经下载了;
Oracle Linux 7.2
适用于 Linux 的 Oracle 数据库 12c
适用于 12c 的 Oracle 实例客户端
(都是同一个版本)


我的成功之处;
在 VMWare 上安装 Oracle Linux
安装 Oracle Database 12c


我需要;
安装具有连接 Oracle 数据库功能的 LAMP。
安装具有连接 php 到 Oracle 数据库功能的 Instant Client。
安装 phpmyadmin
请帮忙...

【问题讨论】:

  • 我相信,phpmyadmin只支持mysql和mariadb。并阅读此php.net/manual/en/book.uodbc.php
  • 我需要 phpmyadmin 用于 LAMP 中的 mysql 除了我使用 Dbeaver。

标签: php linux oracle oracle12c


【解决方案1】:

http://yum.oracle.com/oracle-linux-php.html 有 PHP RPM(包括一个用于连接到 Oracle 数据库的 PHP OCI8 驱动程序)

您需要先从http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html 安装“Basic”软件包(这需要点击,因此它不能在 yum 频道中)。听起来你已经做到了。

在这本免费书籍的后半部分有很多关于 PHP OCI8 的有用信息:http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html

【讨论】:

    猜你喜欢
    • 2019-09-19
    • 2018-07-18
    • 2020-10-09
    • 2018-07-13
    • 1970-01-01
    • 1970-01-01
    • 2014-05-18
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多