PHP�̊‹��\�z

 

l        �_�E�����[�h

�@PHP�iHypertext PreProceccer�j�̃_�E�����[�h���@�ɂ‚��Đ����܂��D

�@

�i�P�j�@PHP�̃_�E�����[�h

�@PHP�̍ŐV�̃o�[�W�����ł���uPHP5.2.1�v�̃_�E�����[�h���@�ɂ‚��Đ����܂��D�uPHP5.2.1�v��_�E�����[�h���邽�߂ɂ́CWeb�u���E�U����uhttp://www.php.net/downloads.php�v�փA�N�Z�X���C�uPHP-5.2.1-Win32.zip�v��_�E�����[�h���܂��D

 

 

 

 

l         �C���X�g�[��

�i�P�j�@PHP�̃C���X�g�[��

�@PHP��C���X�g�[��������@������܂��DPHP��C���X�g�[�����邽�߂ɂ́C�uphp-5.2.1-Win32.zip�v��C�h���C�u�����́uc:¥�v�ɉ𓀂��C�𓀌�̃f�B���N�g������uphp�v�ɕύX���܂��D�𓀌��PHP�̃f�B���N�g����Ɏ����܂��D

 

 

�@PHP�̉𓀂ƃf�B���N�g�����̕ύX��CPHP�̃f�B���N�g���́ufdftk.dll�v�C�ufribidi.dll�v�C�ugds32.dll�v�C�ulibeay.dll�v�C�ulibmcrypt.dll�v�C�ulibmysql.dll�v�C�ulibswish-e.dll�v�C�umsql.dll�v�C�untwdblib.dll�v�C�uphp5ts.dll�v�C�ussleay32.dll�v�C�uyaz.dll�v��V�X�e���f�B���N�g���Ɉړ����܂��D�V�X�e���f�B���N�g���̈ʒu��Ɏ����܂��D

�@

�v���b�g�t�H�[��

�V�X�e���f�B���N�g��

Windows 95/95SE/98/ME

c:¥windows¥system

Windows NT/2000

c:¥winnt¥system32

Windows XP/2003

c:¥windows¥system32

 

 

�i�Q�j�@PHP�̐ݒ�

�@PHP�̐ݒ�ɂ‚��Đ����܂��DPHP��ݒ肷�邽�߂ɂ́C�uc:¥php�v��́uphpini-dist�v��uphp.ini�v�Ƀt�@�C������ύX���C�uphp.ini�v��uwindows�v�f�B���N�g���Ɉړ����܂��D�f�B���N�g���̈ʒu��Ɏ����܂��D

 

�v���b�g�t�H�[��

�V�X�e���f�B���N�g��

Windows 95/95SE/98/ME/XP/2003

c:¥windows

Windows NT/2000

c:¥winnt

 

 

�@�f�B���N�g���̈ړ���C�uphp.ini�v��C�ӂ̃e�L�X�g�G�f�B�^�ŊJ���C�e���ڂ�ݒ肵�܂��D

 

�s

�ύX�ӏ�

101

output_buffering=On

115

output_handler=mb_output_handler

447

default_charset = Shift_JIS

461

include_path = ".;C:/php/includes"

468

doc_root = "C:/Program Files/Apache software Foundation/Apache2.2/htdocs"

475

extension_dir = "c:/php/ext"

599

extension=php_mbstring.dll

610

extension=php_pdo.dll

618

extension=php_pdo_sqlite.dll

625

extension=php_sqlite.dll

1164

mbstring.language = Japanese

1169

mbstring.internal_encoding = EUC-JP

1172

mbstring.http_input = auto

1176

mbstring.http_output = SJIS

1183

mbstring.encoding_translation = On

1187

mbstring.detect_order = auto

1191

mbstring.substitute_character = auto;

 

��L�̕\�̂悤��PHP�̐ݒ荀�ڂ�ύX���Ă��������D�s�ԍ��ɂ‚��ẮCPHP�̃o�[�W�������ƂɈقȂ�܂��̂ŁC�ڈ��Ƃ��Č������Ă��������D�ݒ荀�ڂɂ���ẮC�u;�v�ŃR�����g�A�E�g����Ă���̂ŁC�R�����g�A�E�g��O���Ă��������D�܂��C�Ԏ��̕����ɂ‚��ẮC�Y��������������Ă��������D

 

�i�R�j�@Apache�Ƃ̊֘A�t��

�@Apache�Ƃ̊֘A�t���ɂ‚��Đ����܂��DApache�Ɗ֘A�t����邽�߂ɂ́CApache��C���X�g�[��������ŁC�uC:¥Program Files¥Apache Software Foundation¥Apache2.2¥conf�v��́uhttpd.conf�v��C�ӂ̃e�L�X�g�G�f�B�^�ŊJ���C�e���ڂ�ݒ肵�܂��D

 

�s

�ύX�ӏ�

115

LoadModule php5_module c:/php/php5apache2_2.dll

407

AddType application/x-httpd-php .php

 

��L�̕\�̂悤�Ɂuhttpd.conf�v�̐ݒ荀�ڂ�ύX���Ă��������D�s�ԍ��ɂ‚��ẮCApache�̃o�[�W�������ƂɈقȂ�܂��̂ŁC�ڈ��Ƃ��Č������Ă��������D