Under Linux, PHP connects oracle through pdo to report 503 error.

1, oci and pdo_oci extensions all have

2. The database code is ZHS16GBK

.

3. The encoding is set to UTF-8, but the result is in Chinese.

new \PDO("oci:dbname=//192.168.1.168:1521/orcl;charset=UTF-8", "bi", "bi");

4. Set the code to ZHS16GBK to report 503 directly

new \PDO("oci:dbname=//192.168.1.168:1521/orcl;charset=ZHS16GBK ", "bi", "bi");
Mar.20,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b583-2c27c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b583-2c27c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?