php连接oracle环境配置为什么总是不成功?
试了instantclient32位的、64位的,oci8_11g、oci8_12c的都没成功。
来回出现这类错误:
```php
Fatal error: Call to undefined function oci_connect() ...
Warning: oci_connect(): OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries in ....
Warning: oci_connect(): ORA-28547: connection to server failed, probable Oracle Net admin error 。
本地的php环境是(wamp):
```php
PHP Version 5.6.40
Architecture x64
Thread Safety enabled
oracle数据库的版本信息是: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
真是不知道要怎么才能成功。instantclient该选哪个版本多少位?装了64位的报错信息查资料是说要装32位的,装了32位的报错信息查资料显示要装和php位数对应的版本(64位)。