2020-02-18 09:20:02
首先确认你已经安装有oracle 11g,下面是在装有oracle 11g的centos-6 64位配置php与oracle连接的事例。
到这里http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html下载oracle-instantclient11.2-basic,oracle-instantclient11.2-devel,oracle-instantclient11.2-sqlplus文件,开始安装:
rpm -ivh oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64.rpm oracle-instantclient11.2-devel-11.2.0.3.0-1.x86_64.rpm oracle-instantclient11.2-sqlplus-11.2.0.3.0-1.x86_64.rpm
vi /etc/ld.so.conf.d/oracle-lib.conf
加入:
/usr/lib/oracle/11.2/client64/lib/
ldconfig
cd /tmp wget http://pecl.php.net/get/oci8-1.4.7.tgz tar xzf oci8-1.4.7.tgz cd oci8-1.4.7 phpize ./configure --with-oci8=shared,instantclient,/usr/lib/oracle/11.2/client64/lib/ make && make install
在/etc/php.ini中加入:
extension = "oci8.so"
接着使用php -m查看模块是否已经被加载
没有开启Oracle日志归档,紧急情况下如何进行Oracle数据库的冷备份
04-26
centos系统安装配置PHPMyAdmin数据库管理工具
04-27
memcached数据库简单配置介绍
05-25
CentOS使用mysqlbinlog恢复MySQL数据库
05-07
PostgreSQL数据库修改表增加主键
07-12
Postgresql数据库主从流复制
06-14
ubuntu安装mongodb数据库服务器
05-29
使用shell脚本结合innobackupex自动备份mysql innodb数据库
04-06
安全快速更改MySQL数据库名称
04-27
记录一次Zabbix-server由于磁盘空间不足迁移数据库的过程
07-19
CentOS 7.0安装配置LAMP服务器(Apache+PHP+MariaDB)
05-06
Cherokee配置虚拟主机支持PHP
06-15
Debian 7 (Wheezy)安装配置Apache mod_fastcgi PHP-FPM
07-20
PHP 5.2/5.3 Hash漏洞补丁发布
07-15
CentOS 7.0安装LAMP服务器(PHP+MariaDB+Apache)
06-07
Centos 6.5安装PDO PHP扩展
03-13
Ubuntu 12.04 (Precise Pangolin)安装Nginx PHP FastCGI
02-19
You will need re2c 0.13.4 or later if you want to regenerate PHP parsers
07-19
apt方式安装LNMP环境教程(ubuntu17.10|PHP7.1)
04-12
连接网络时,提示没有网络访问权限怎么办
06-30
mongodb(开源数据库软件)下载 v4.0.3官方免费版
219M
下载powerdesigner(数据库设计工具)v16.5 最新版
615.07MB
下载Oracle VM VirtualBox(虚拟机工具)v5.2.14.123301 中文免费版
538.39MB
下载PHP开发工具(PHP程序开发软件) V7.3.3.0 中文版
22.56 MB
下载HeidiSQL(MySQL服务器数据管理工具) v11.0.0.6055 免费版
10.1M
下载easyrecovery pro(硬盘数据恢复工具) v14.0.0.4 免费版
78.6M
下载easyrecovery pro(硬盘数据恢复工具) v14.0.0.4 官方版
87.8M
下载互盾安卓恢复大师(手机数据恢复工具) v2.8.7.1 破解版
529KB
下载后羿采集器(网页数据采集软件) v3.5.3 免费版
45.0M
下载小牛文件恢复软件(数据恢复工具) v4.8.0 最新版
6.1M
下载硬盘保护卡克星(数据破解抹除工具) 1.2 免费版
0.11MB
下载顶尖数据恢复软件下载
7.5M
下载Oracle11g下载
4.17GB
下载ADSL宽带拨号王
1.79 MB
下载BlueTour(蓝牙驱动工具)下载 v2.0.0.22官方版
2.0M
下载EasyRecovery 13 下载
12.99MB
下载Valentina Studio 下载
43.06MB
下载WampServer(PHP集成环境安装包)下载 v3.0.6中文
378.36 MB
下载activesync下载
22.72MB
下载activesync下载
22.72MB
下载