在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
在/etc/profile.d/简历oracle.sh 内容如下在NLS_LANG设置编码
1 ORACLE_HOME=/usr/lib/oracle/12.1/client64 2 C_INCLUDE_PATH=/usr/include/oracle/12.1/client64 3 LD_LIBRARY_PATH=$ORACLE_HOME/lib 4 #remember this is the client NLS_LANG not the server one 5 NLS_LANG=FRENCH_FRANCE.UTF8 6 export ORACLE_HOME LD_LIBRARY_PATH NLS_LANG
然后修改 /etc/init.d/php-fpm 在头部增加 . /etc/profile.d/oracle.sh
. /etc/init.d/functions # Check that networking is up. # Additional environment file if [ "$NETWORKING" = "no" ] RETVAL=0
然后重新启动php即可 |
2022-08-17
2022-11-06
2022-07-18
2022-08-17
2022-07-18
请发表评论