当前位置:论坛首页 > Linux面板 > 求助

【已回应】宝塔linux php5.6 如何安装oracle扩展支持

发表在 Linux面板2019-11-28 10:32 [复制链接] 5 3186

linux php5.6 如何安装oracle扩展支持
使用道具 举报 只看该作者 回复
发表于 2019-11-28 10:54:36 | 显示全部楼层
您好,面板目前是没有oracle数据库,如您服务器安装成功了,可参考php官方的文档自行安装。

http://pecl.php.net/package/oci8
使用道具 举报 回复 支持 反对
发表于 2019-11-28 10:56:15 | 显示全部楼层
使用道具 举报 回复 支持 反对
发表于 2019-12-21 09:12:27 | 显示全部楼层
感谢楼上两位!
使用道具 举报 回复 支持 反对
发表于 2019-12-23 18:54:15 | 显示全部楼层
Use the OCI8 extension to access Oracle Database. Use 'pecl install
oci8' to install for PHP 7. Use 'pecl install oci8-2.0.12' to install
for PHP 5.2 - PHP 5.6. Use 'pecl install oci8-1.4.10' to install for
PHP 4.3.9 - PHP 5.1. The OCI8 extension can be linked with Oracle
client libraries from Oracle Database 12, 11, or 10.2. These
libraries are found in your database installation, or in the free
Oracle Instant Client from

Oracle's standard cross-version connectivity applies. For example,
PHP OCI8 linked with Instant Client 11.2 can connect to Oracle
Database 9.2 onward. See Oracle's note "Oracle Client / Server
Interoperability Support" (ID 207303.1) for details.
使用道具 举报 回复 支持 反对
发表于 2019-12-23 18:55:24 | 显示全部楼层
php官方给的这段话;里面有版本的要求;这里面还有坑!Use the OCI8 extension to access Oracle Database. Use 'pecl install
oci8' to install for PHP 7. Use 'pecl install oci8-2.0.12' to install
for PHP 5.2 - PHP 5.6. Use 'pecl install oci8-1.4.10' to install for
PHP 4.3.9 - PHP 5.1. The OCI8 extension can be linked with Oracle
client libraries from Oracle Database 12, 11, or 10.2. These
libraries are found in your database installation, or in the free
Oracle Instant Client from

Oracle's standard cross-version connectivity applies. For example,
PHP OCI8 linked with Instant Client 11.2 can connect to Oracle
Database 9.2 onward. See Oracle's note "Oracle Client / Server
Interoperability Support" (ID 207303.1) for details.
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表