Your SlideShare is downloading. ×
PHPで文字コードとエラーメッセージをコントロールする
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

PHPで文字コードとエラーメッセージをコントロールする

3,184
views

Published on

Published in: Technology

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,184
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
8
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. 2011/08/27 PHP @omoon
    • 2. • (Sotaro OMURA)
    • 3. • (Sotaro OMURA)• http://d.hatena.ne.jp/omoon
    • 4. • (Sotaro OMURA)• http://d.hatena.ne.jp/omoon• @omoon (twitter)
    • 5. • (Sotaro OMURA)• http://d.hatena.ne.jp/omoon• @omoon (twitter)•
    • 6. • PHP 10
    • 7. • PHP 10• WEB 11
    • 8. • PHP 10• WEB 11• Perl
    • 9. • PHP 10• WEB 11• Perl• PHP PHP
    • 10. PHP BEST2 ( )
    • 11. PHP BEST2 ( )•
    • 12. PHP BEST2 ( )
    • 13. PHP BEST2 ( )•
    • 14. PHP BEST2 ( )• •
    • 15. PHP BEST2 ( )• • • Ο
    • 16. php.ini
    • 17. php.ini•
    • 18. php.ini••
    • 19. php.ini••• http://www.php.net/manual/ja/ configuration.file.php
    • 20. php.ini
    • 21. php.net
    • 22. php.ini••• http://www.php.net/manual/ja/ configuration.file.php
    • 23. php.ini
    • 24. phpinfo();
    • 25. php
    • 26. php.ini
    • 27. php.iniphp.ini
    • 28. php.ini• php.ini• ini_set()• http://www.php.net/manual/ja/function.ini- set.php
    • 29. error_reporting
    • 30. ; error_reporting; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED; Development Value: E_ALL; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    • 31. ini_set()
    • 32. • error_reporting E_ALL
    • 33. • error_reporting E_ALL•
    • 34. • error_reporting E_ALL••
    • 35.
    • 36. ••
    • 37. •••
    • 38. • PHP
    • 39. • PHP•
    • 40. • PHP••
    • 41. • PHP••• PHP
    • 42.
    • 43. ••
    • 44. ••• utf-8 OK
    • 45.
    • 46. •• meta
    • 47. •• meta• PHP
    • 48.
    • 49. •• meta
    • 50. •• meta• PHP
    • 51. php.ini
    • 52. php.ini• mbstring.language
    • 53. php.ini• mbstring.language• mbstring.internal_encoding
    • 54. php.ini• mbstring.language• mbstring.internal_encoding• mbstring.encoding_translation HTTP
    • 55. php.ini• mbstring.language• mbstring.internal_encoding• mbstring.encoding_translation HTTP• mbstring.http_input HTTP
    • 56. php.ini• mbstring.language• mbstring.internal_encoding• mbstring.encoding_translation HTTP• mbstring.http_input HTTP• mbstring.http_output HTTP
    • 57. php.ini• mbstring.language• mbstring.internal_encoding• mbstring.encoding_translation HTTP• mbstring.http_input HTTP• mbstring.http_output HTTP• mbstring.detect_order
    • 58. • mbstring.language = Japanese
    • 59. • mbstring.language = Japanese• mbstring.internal_encoding = UTF-8
    • 60. • mbstring.language = Japanese• mbstring.internal_encoding = UTF-8• mbstring.encoding_translation = On
    • 61. • mbstring.language = Japanese• mbstring.internal_encoding = UTF-8• mbstring.encoding_translation = On• mbstring.http_input = auto
    • 62. • mbstring.language = Japanese• mbstring.internal_encoding = UTF-8• mbstring.encoding_translation = On• mbstring.http_input = auto• mbstring.http_output = auto
    • 63. • mbstring.language = Japanese• mbstring.internal_encoding = UTF-8• mbstring.encoding_translation = On• mbstring.http_input = auto• mbstring.http_output = auto• mbstring.detect_order = auto
    • 64. http://jp.php.net/manual/ja/mbstring.configuration.php
    • 65.
    • 66. •• PHP
    • 67. •• PHP•
    • 68. •• PHP•• php.ini / ini_set()
    • 69. $ php -i
    • 70. $ php -iphpinfo()PHP Version => 5.3.4System => Darwin iMac.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386Build Date => Dec 15 2010 12:08:54Configure Command => /var/tmp/apache_mod_php/apache_mod_php-53.4~2/php/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --sysconfdir=/private/etc --with-apxs2=/usr/sbin/apxs --enable-cli --with-config-file-path=/etc --with-libxml-dir=/usr --with-openssl=/usr --with-kerberos=/usr --with-zlib=/usr --enable-bcmath --with-bz2=/usr --enable-calendar --with-curl=/usr --enable-exif --enable-ftp --with-gd --with-jpeg-dir=/BinaryCache/apache_mod_php/apache_mod_php-53.4~2/Root/usr/local --with-png-dir=/BinaryCache/apache_mod_php/apache_mod_php-53.4~2/Root/usr/local --enable-gd-native-ttf --with-ldap=/usr --with-ldap-sasl=/usr --enable-mbstring --enable-mbregex --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-mysql-sock=/var/mysql/mysql.sock --with-iodbc=/usr --enable-shmop --with-snmp=/usr --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx --with-xmlrpc --with-iconv-dir=/usr --with-xsl=/usr --enable-zend-multibyte --enable-zip --with-pcre-regex=/usrServer API => Command Line InterfaceVirtual Directory Support => disabledConfiguration File (php.ini) Path => /etcLoaded Configuration File => (none)Scan this dir for additional .ini files => (none)Additional .ini files parsed => (none)PHP API => 20090626PHP Extension => 20090626Zend Extension => 220090626Zend Extension Build => API220090626,NTSPHP Extension Build => API20090626,NTSDebug Build => noThread Safety => disabledZend Memory Manager => enabledZend Multibyte Support => enabledIPv6 Support => enabledRegistered PHP Streams => https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zipRegistered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tlsRegistered Stream Filters => zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed,dechunkThis program makes use of the Zend Scripting Language Engine:Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies