【发布时间】:2020-05-27 10:17:38
【问题描述】:
Ubuntu 18.04源码安装php7.4时如何配置PgSQL支持? 编译信息:
./configure \
--prefix=/home/ubuntu/application/php7.4 \
--with-config-file-path=/home/ubuntu/application/php7.4/etc \
--with-fpm-user=www --with-fpm-group=www --with-fpm-systemd --with-openssl \
--with-kerberos --with-system-ciphers --with-external-pcre --with-pcre-jit \
--with-libxml --with-zlib --with-bz2 --with-curl --with-external-gd --with-webp \
--with-jpeg --with-xpm --with-freetype --with-gettext --with-gmp --with-mhash \
--with-imap --with-imap-ssl --with-mysql-sock --with-mysqli --with-pdo-dblib \
--with-pdo-firebird --with-pdo-mysql --with-zlib-dir --with-pspell \
--with-libedit --with-readline --with-pgsql --with-pdo-pgsql --with-pdo-oci \
--with-snmp --with-sodium --with-expat --with-xsl --with-zip --with-fpm-acl \
--with-valgrind --with-pear --with-cdb --with-iconv --enable-fpm \
--enable-fd-setsize=2048 --enable-embed --enable-phpdbg --enable-phpdbg-webhelper \
--enable-phpdbg-debug --enable-phpdbg-readline --enable-rtld-now --enable-sigchild \
--enable-dtrace --enable-libgcc --enable-werror --enable-bcmath --enable-calendar \
--enable-dba --enable-ftp --enable-gd --enable-gd-jis-conv --enable-intl \
--enable-json --enable-mbstring --enable-pcntl --enable-shmop --enable-simplexml \
--enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm \
--enable-mysqlnd --enable-sockets --enable-soap --enable-calendar --enable-dom \
--enable-exif --enable-fileinfo --enable-filter --enable-mbregex --enable-pdo \
--enable-session --enable-dmalloc --enable-mysqlnd-compression-support
错误信息:
configure: error: You need to tell me where to find your Oracle Instant Client SDK, or set
ORACLE_HOME.
请问,这个怎么解决?谢谢!
【问题讨论】:
-
如果安装了Oracle Client,请将环境变量ORACLE_HOME设置为已经安装的目录。
标签: php oracle ubuntu-18.04