パスワードを忘れた? アカウント作成
450388 journal

kambaの日記: PHP 4.3.9 + ming

日記 by kamba
PHPmingを使おうと思い、インストールするも動かず。
PHPでのモジュール追加は動的に出来ると思っていたが、この認識は間違っていたようだ。
モジュールのロードは動的に行うことが出来るが、
モジュールを使えるようにするためにはconfigureでの設定が必要。

以下手順
ming0.3beta1を展開
php 4.3.9を展開
cp ming-0.3beta1/php_ext/* php-4.3.9/ext/ming
cd php-4.3.9; ./configure(オプションは以下)

./configure
--host=i386-redhat-linux --build=i386-redhat-linux --target=i386-redhat-linux-gnu
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache
--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
--enable-force-cgi-redirect --disable-debug --enable-pic
--disable-rpath --enable-inline-optimization --with-bz2 --with-db4=/usr
--with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr
--with-gd --enable-gd-native-ttf --without-gdbm --with-gettext --with-ncurses
--with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --without-pspell
--with-regex=system --with-xml --with-expat-dir=/usr --with-dom=shared,/usr
--with-dom-xslt=/usr --with-dom-exslt=/usr --with-xmlrpc=shared --with-pcre-regex=/usr
--with-zlib --with-layout=GNU --enable-bcmath --enable-exif --enable-ftp
--enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem
--enable-sysvshm --enable-discard-path --enable-track-vars --enable-trans-sid --enable-yp
--enable-wddx --without-oci8 --with-pear=/usr/share/pear --with-imap=shared
--with-imap-ssl --with-kerberos --with-ldap=shared --with-mysql=shared --without-pgsql
--enable-ucd-snmp-hack --without-unixODBC --enable-memory-limit --enable-bcmath
--enable-shmop --enable-calendar --enable-dbx --enable-dio --enable-mcal
--enable-mbstring=shared --enable-mbstr-enc-trans --enable-mbregex
--with-apxs2=/usr/sbin/apxs --with-ming=shared
typodupeerror

最初のバージョンは常に打ち捨てられる。

読み込み中...