./configure \ --enable-mbstring \ --enable-mbstr-etc-trans \ --enable-mbregex \ --enable-zend-multibyte \ --with-pgsql \ --with-apxs=/usr/sbin/apxs \ --with-gd=/usr \ --with-ttf=/usr \ --enable-gd-native-ttf \ --with-free-type-dir=/usr \ --with-jpeg-dir=/usr/lib \ --with-png-dir=/usr/lib \ --with-zlib-dir=/usr/lib make make install ./configure --enable-mbstring --enable-mbstr-etc-trans \ --enable-mbregex --enable-zend-multibyte --with-pgsql \ --with-apxs2=/usr/sbin/apxs --without-gd configure: error: You have enabled Apache 2 support while your server is Apache 1.3. Please use the appropiate switch --with-apxs (without the 2) --with-apxs2=/usr/sbin/apxs => --with-apxs=/usr/sbin/apxs /home/YKADOGUC/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp'
/php-4.3.1/ext/mysql/libmysql/に #undef HAVE_TEMPNAM
/etc/httpd/conf/httpd.conf AddHandler cgi-scripts .cgi AddHandler application/x-httpd-php .php <? phpinfo(); ?>
; Directory in which the loadable extensions (modules) reside. ; extension_dir = "./" extension_dir = "C:\php\extensions" ;Windows Extensions ;Note that MySQL and ODBC support is now built in, so no dll is needed for it. ; ;extension=php_mbstring.dll extension=php_mbstring.dll |