[Á°][¼¡][ÈÖ¹æ½ç°ìÍ÷][¥¹¥ì¥Ã¥É°ìÍ÷]

mysql:2518

From: Yasuhide OMORI / Â翹ÊÝ±Ñ <Yasuhide OMORI / Â翹ÊÝ±Ñ <omori@xxxxxxxxxx>>
Date: Fri, 29 Sep 2000 16:17:47 +0900
Subject: [mysql 02518] Re: MySQL

On Fri, Sep 29, 2000 at 03:52:08PM +0900,
finx <finx@xxxxxxxxxx> wrote:
>
>TurboLinux Server 6.1¤ËMySQL+PHP3.0.15-i18n-ja+Apache1.3.12¤ò¥¤¥ó¥¹¥È¡¼¥ë
>¤·¤ÆPHP+MySQL¤Î´Ä¶­¤òºî¤í¤¦¤È¤·¤Æ¤¤¤Þ¤¹¡£
>MySQL¤ÈPHP¤ÎϢư¤ò³Îǧ¤·¤¿¤¤¤¿¤á¡¢²¼µ­¤Î¤è¤¦¤Ê¥¹¥¯¥ê¥×¥È¤ò
>http://www.softagency.co.jp/mysql/TIPS/php3/connect.html
>¤ò¤â¤é¤Ã¤Æ¤­¤Æ¡¢test_mysql_php.php3¤È¤·¡¢¥Ö¥é¥¦¥¶¤«¤éɽ¼¨¤ò»î¤½¤¦¤È¤·¤¿¤È
>¤³¤í¡¢
>
>Fatal error: Call to unsupported or undefined function mysql_connect() in /home/httpd/html/test_mysql_php.php3 on line 2
>
>¤È¤¤¤¦¤è¤¦¤Ê¥¨¥é¡¼¤¬½Ð¤Æ¤­¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

<?php
phpinfo();
?>

¤Ç¡¢¤É¤Î¤è¤¦¤Ê¥ª¥×¥·¥ç¥ó¤ò configure ¤ËÅϤ·¤Æ php ¤ò¹½ÃÛ¤·¤¿¤«³Îǧ¤·¤Þ
¤·¤ç¤¦¡£Â¿Ê¬ --with-mysql ¤È¤¤¤¦¤Î¤¬Æþ¤Ã¤Æ¤¤¤Ê¤¤¤È»×¤¤¤Þ¤¹¡£»ä¤Î¤È¤³¤í
¤Ç¤Ï

./configure \
        --with-apxs=/usr/sbin/apxs \
        --with-shared-apache=/etc/httpd \
        --with-mod_charset=yes \
        --with-gd \
        --with-mysql=/usr \
        --with-zlib \
        --enable-sysvshm=yes \
        --enable-sysvsem=yes \
        --with-config-file-path=/etc \
        --with-system-regex=yes \
        --enable-safe-mode=yes \
        --with-exec-dir=/usr/local/bin \
        --enable-track-vars=yes \
        --enable-magic-quotes=yes \
        --enable-debugger=yes \
        --enable-bcmath=yes \
        --enable-force-cgi-redirect=yes \
        --enable-discard-path=yes \
        --enable-memory-limit=yes \
        --enable-i18n

¤È¤¤¤¦¶ñ¹ç¤Ç¤¹¡£do-conf ¤ÇÀ¸À®¤·¤¿¤â¤Î¤Ë --enable-i18n ¤ò²Ã¤¨¤¿¤À¤±¤Ç
¤¹¡£¾å¤Î¤â¤Î¤Ï perl -pe 's{ }{ \\\n\t}g;' ¤Ç¥á¥â¤«¤éÀ¸À®¤·¤Þ¤·¤¿¡£
# DSO ÈÇ¤Ê¤Î¤Ç --with-exec-dir=/usr/local/bin ¤Ï̵°ÕÌ£¤Ç¤¹¤Í (^^;

Vine-2.0CR
apache-1.3.12-2vl3
MySQL-3.23.23 (¼«¥Û¥¹¥È¤Ç src.rpm ¤ò rebuild)
php-3.0.15-i18n-ja

¤È¤¤¤¦´Ä¶­¤Ç¤¹¡£¥³¥ó¥Ñ¥¤¥é¤Ï gcc-2.95.2 ¤ò /opt/gcc-2.95.2 ¤ËÆþ¤ì¤Æ»È¤Ã
¤Æ¤¤¤Þ¤¹¡£¤³¤Á¤é¤Î¹½ÃÛË¡¤Ï

http://his.luky.org/ML/linux-users.7/msg02264.html

¤Ë¤Þ¤È¤á¤Æ¤¢¤ê¤Þ¤¹¡£
-- 
Yasuhide OMORI / Â翹ÊݱÑ

[Á°][¼¡][ÈÖ¹æ½ç°ìÍ÷][¥¹¥ì¥Ã¥É°ìÍ÷]

      2517 2000-09-29 15:52 [finx <finx@xxxxxxxxx] MySQL                                   
->    2518 2000-09-29 16:17 ¨²[Yasuhide OMORI / Âç¿]                                       
      2536 2000-09-29 16:44 ¨²[ISHIDA Akio <iakio@x]                                       
      2673 2000-11-03 15:46 ¨±[tateyan <tateyan@xxx]                                       
      2688 2000-11-09 09:33 ¡¡¨±["s a s a n o" <zaza@] MySQL ¤Î¥Á¥å¡¼¥È¥ê¥¢¥ë              
      2689 2000-11-09 10:24 ¡¡¡¡¨±[Yukihiro KAWADA <kaw]                                   
      2690 2000-11-09 20:20 ¡¡¡¡¡¡¨±["s a s a n o" <zaza@]