flagflag  
4: 2010-05-02 (Sun) 21:07:18 admin source 5: 2012-03-27 (Tue) 17:44:53 iseki source
Line 8: Line 8:
*** Install [#g3ac2181] *** Install [#g3ac2181]
 +-  --enable-intl を指定する場合は libicu-devel パッケージが必要
 +
 # zcat php-5.x.y.tar.gz |tar xfv -  # zcat php-5.x.y.tar.gz |tar xfv -
 # cd php-5.x.y  # cd php-5.x.y
- # ./configure  --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql​_config \+ # ./configure  --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql​_config
 +               --with-pdo-mysql=/usr/local/mysql \
               --with-apxs2=/usr/local/apache/bin/apxs \                --with-apxs2=/usr/local/apache/bin/apxs \
-               --enable-mbstring --with-iconv --with-zlib=/usr +               --enable-sockets --enable-zip --enable-soap --enable-pcntl \ 
-               --with-openssl=/usr/local/ssl --with-curl --with-xmlrpc \+               --enable-mbstring --with-iconv --enable-intl
 +               --with-zlib=/usr --with-openssl=/usr/local/ssl --with-curl --with-xmlrpc \
               --with-gd --with-jpeg-dir --with-png-dir                --with-gd --with-jpeg-dir --with-png-dir
 # make  # make
Line 23: Line 27:
-- /usr/local/lib/php.ini -- /usr/local/lib/php.ini
-**** <?  ... ?>   <?=... > [#u7a17883] +**** Short Open Tag [#u7a17883] 
-- Short Open Tag を有効にするには,設定ファイルで以下のように設定する.+- <?  ... ?>, <?=... > 等の Short Open Tag を有効にするには,設定ファイルで以下のように設定する. 
 short_open_tag = On  short_open_tag = On
#br #br
 +
*** MySQL [#f960f3f5] *** MySQL [#f960f3f5]
- 処理中の文字コードを UTF-8にする場合 - 処理中の文字コードを UTF-8にする場合
Line 37: Line 43:
- mb_internal_encoding("utf-8") は php.ini でも指定可能. - mb_internal_encoding("utf-8") は php.ini でも指定可能.
- SET NAMES utf8 でクエリの文字コードを指定可能. - SET NAMES utf8 でクエリの文字コードを指定可能.
 +#br
 +
 +
 +#br


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

60 user(s) are online (20 user(s) are browsing xpwiki)

Members: 0
Guests: 60

more...

Access Counter

Today : 678678678
Yesterday : 1361113611136111361113611
Total : 2363908523639085236390852363908523639085236390852363908523639085
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com