Php connects to oracle in the oracle linux redhat5.5 operating system using pdo_oci. But the following error is reported. please help me. please be patient !!
SQLSTATE [HY000]: OCINlsCharSetNameToId: unknown character set name (/software/php-5.6.16/ext/pdo_oci/oci_driver.c: 610) SQLSTATE [HY000]: OCINlsCharSetNameToId: unknown character set name (/software/php-5.6.16/ext/fig/oci_driver.c: 610)
Reply to discussion (solution)
You have not installed the Oracle client.
The computer is also an oracle Server. oracle 11g R2 has been installed on this computer.
Re-apply: The Oracle client and server are installed separately.
Search your machine for the oci. dll file
I am a linux operating system, and there is no such thing as oci. dll. When installing the oracle service software, isn't the client installed with it? there is no problem connecting to the service machine. the connection method is sqlplus system/oracle @ orcl.
That is, oci. so, which has been separately installed since oracle 10.
Check whether the client is correctly installed. It won't go crazy.
OCINlsCharSetNameToId: unknown character set name
It's not a problem when you install the client, it's a problem with your connection string.
Sorry, no worries. Then let me install the client again. thank you!
That is, oci. so, which has been separately installed since oracle 10.
Check whether the client is correctly installed. It won't go crazy.
OCINlsCharSetNameToId: unknown character set name
It's not a problem when you install the client, it's a problem with your connection string.
The oracle11g client is also installed, and the error is the same.