PHP PDO quick fix for Oracle Chinese garbled, _php tutorial

Source: Internet
Author: User

PHP PDO quick fix for Oracle Chinese garbled,


Resume oracle.sh in/etc/profile.d/

The contents are as follows in Nls_lang setup encoding

oracle_home=/usr/lib/oracle/12.1/client64c_include_path=/usr/include/oracle/12.1/client64ld_library_path=$ Oracle_home/lib#remember This is the client Nls_lang not the server onenls_lang=french_france. UTF8 Export Oracle_home Ld_library_path Nls_lang

Then modify the/ETC/INIT.D/PHP-FPM

Increase in head

. /etc/profile.d/oracle.sh. /etc/init.d/functions. /etc/profile.d/oracle.sh# Check that networking are up. /etc/sysconfig/network# Additional Environment Fileif [-F/ETC/SYSCONFIG/PHP-FPM]; Then. /etc/sysconfig/php-fpmfiif ["$NETWORKING" = "no"]thenexit 0firetval=0prog= "PHP-FPM" pidfile=${pidfile-/var/run/ PHP-FPM/PHP-FPM.PID}LOCKFILE=${LOCKFILE-/VAR/LOCK/SUBSYS/PHP-FPM}

Then restart PHP to

The above this PHP PDO Oracle Chinese garbled Fast solution is small to share all the content of everyone, I hope to give you a reference, but also hope that we have a lot of support to help guests home.

http://www.bkjia.com/PHPjc/1127881.html www.bkjia.com true http://www.bkjia.com/PHPjc/1127881.html techarticle PHP PDO ORACLE Chinese garbled fast solution, in/etc/profile.d/resume oracle.sh content as follows in Nls_lang set encoding ORACLE_HOME=/USR/LIB/ORACLE/12.1/ Client64c_include_path=/us ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.