[PHP-users 21359]Re: .forwardからの標準入力で起動したスクリプトでpg_connectができない

Mashiki mashiki @ yanah.com
2004年 4月 20日 (火) 12:10:24 JST


 Mashikiです。

>参考:
> phpのconfigureオプション(phpinro()より)
>./configure' '--prefix=/usr' '--with-config-file-path=/etc'
>'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
>'--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs'
>'--with-exec-dir=/usr/bin' '--with-bz2' '--with-regex=system'
>'--with-gettext' '--with-gmp' '--with-gd' '--with-jpeg-dir=/usr'
>'--with-png-dir=/usr' '--with-ttf' '--with-zlib' '--with-gdbm'
>'--with-openssl' '--with-layout=GNU' '--enable-debugger'
>'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets'
>'--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-yp'
>'--enable-ftp' '--enable-wddx' '--without-mysql' '--without-oracle'
>'--without-oci8' '--with-xml' '--with-expat-dir=/usr' '--with-dom=/usr'
>'--enable-xslt' '--with-xslt-sablot=/usr' '--with-dom-xslt=/usr'
>'--enable-iconv' '--enable-mbregex' '--with-namazu=/usr'
>'--with-kakasi=/usr' '--enable-mbstring' '--enable-mbstr-enc-trans'
>'--enable-versioning' '--enable-zend-multibyte'

--with-pgsql は無いんですね。

ちなみにいさきりさんの

cat dummy.dat | /usr/bin/php -q /path/test.php

は動きますか?

また、POSTGRES関連の環境変数をセットしていないユーザーから実行すると
どうなるでしょうか?また、エラーメッセージは?


PHP-users メーリングリストの案内