[PHP-users 22628]file_put_contentsで call to undefined function

Shuji Kono shuji.kono @ oriental.ac
2004年 7月 17日 (土) 12:33:18 JST


河野です。

PHP 4.3.7 (Apache1.3.31 + mod_php4)

Configureオプション
'./configure' '--enable-versioning' '--enable-memory-limit'
'--with-layout=GNU' '--with-zlib-dir=/usr' '--disable-all'
'--with-regex=php' '--disable-cli' '--enable-ctype' '--enable-mbstring'
'--with-mysql=/usr/local' '--enable-overload' '--with-pcre-regex=yes'
'--enable-posix' '--enable-session' '--enable-tokenizer'
'--with-expat-dir=/usr/local' '--enable-xml' '--with-zlib=yes'
'--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local'
'i386-portbld-freebsd4.10'

という環境ですが、file_put_contents()を使うと上記のエラーが発生します。
file_get_contents()では問題ありません。

普通にfopen(),fwrite(),fclose()すればこれまた問題ないのでそちらを使って
いますが、なんだか気持ち悪いです。

何か原因が考えられるでしょうか?

-- 
Shuji Kono <shuji.kono @ oriental.ac>




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