[PHP-users 26299] imap / PHP 拡張モジュール構築
koudai
koudai_0322 @ yahoo.co.jp
2005年 7月 27日 (水) 13:57:08 JST
koudai です。
IMAP を使いたいのですが関数が見つからないというエラーが
でます。
拡張モジュール構築時に phpize で warning が発生している
のですが、
aclocal.m4 を削除後に aclocal を実行し、再度 phpize を動
かしても
同じ内容の warning が発生します。
aclocal.m4 の update とは何をすべきなのでしょうか教えて
ください。
1. IMAP をインストール後に実行 → 以下のエラーがでます。
PHP Fatal error: Call to undefined function:
imap_open() in /usr/local/cclbin/xxxx.php on line 26
Fatal error: Call to undefined function: imap_open() in
/usr/local/cclbin/xxxx.php on line 26
2. 拡張モジュール構築時に phpize で warning が発生してい
ます。
$ cd php-4.3.10/ext/imap
$ phpize
config.m4:207: warning: AC_TRY_RUN called without
default to allow cross compiling
config.m4:215: warning: AC_TRY_RUN called without
default to allow cross compiling
config.m4:207: warning: AC_TRY_RUN called without
default to allow cross compiling
config.m4:215: warning: AC_TRY_RUN called without
default to allow cross compiling
You should update your `aclocal.m4' by running aclocal.
Configuring for:
PHP Api Version: 20020918
Zend Module Api No: 20020429
Zend Extension Api No: 20021010
3. phpinfo(); で確認
[ Configure Command ]
'./configure' '--with-apache=../apache_1.3.29'
'--with-mysql=/usr/local'
'--enable-trans-sid' '--enable-mbstring'
'--enable-mbregex' '--with-imap' '--with-imap-ssl'
[ 環境 ]
Red Hat Linux release 7.3
apache_1.3.29
php-4.3.10
imap.tar.Z → imap-2002.RC10
以上
__________________________________
Save the earth
http://pr.mail.yahoo.co.jp/ondanka/
PHP-users メーリングリストの案内