PHP PDO oracle Chinese garbled linux PHP connection oracle PHP Oracle operation using PHP Oracle teach

Source: Internet
Author: User
Resume oracle.sh in/etc/profile.d/

The contents are as follows in Nls_lang setup encoding

1 oracle_home=/usr/lib/oracle/12.1/client642 c_include_path=/usr/include/ oracle/12.1/client643 ld_library_path= $ORACLE _home/lib4# RememberThis was the client Nls_lang not the server one5 nls_lang=6 Export Oracle_ho ME 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 File
if [-F/ETC/SYSCONFIG/PHP-FPM]; Then
. /etc/sysconfig/php-fpm
Fi

If ["$NETWORKING" = "No"]
Then
Exit 0
Fi

Retval=0
Prog= "PHP-FPM"
Pidfile=${pidfile-/var/run/php-fpm/php-fpm.pid}
LOCKFILE=${LOCKFILE-/VAR/LOCK/SUBSYS/PHP-FPM}

Then restart PHP to

The above describes the PHP PDO Oracle Chinese garbled, including the content of the oracle,php, I hope that the PHP tutorial interested in a friend helpful.

  • 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.