Tested many times, TP official website did not give the correct wording, and the search on the internet is all wrong.
Tracking code, finally found the correct configuration, backup as follows, (by default7#zbphp.com)
' Db_type ' = ' Oracle ',//database type ' db_host ' = ' oracle.zbphp.com ',//server address ' db_name ' + ' (Description= (address= (protocol=tcp) (host=oracle.zbphp.com) (port=1029)) (Connect_data= (SID=ORCL))) ',//server address ' db_user ' = ' zbphp ',//user name ' db_pwd ' = ' fuzb ',//password ' db_port ' + 1029,//Port ' db_prefix ' = ' tb_ ',//database table prefix ' db_charset ' = ' utf8 ',//Character set ' db_params ' = > Array ( ' persist ' + = true,//note, this one must be written ),
Special emphasis: TP website said TP support PDO, Oracle, but if using PDO can not connect DSN with MSSQL, Oracle, OCI string dsn!
Tip To download PDO extensions on official website! (Welcome Exchange by Default7#zbphp.com)
#: With the configuration reference found on the website, it is impossible to connect to Oracle, whether using PDO or OCI