Hello World from OSS Silicon Valley


HowToUse/PHP/5.3


  • The added line is THIS COLOR.
  • The deleted line is THIS COLOR.
#contents

*Prerequisite [#s8220bb5]
-Cent OS installation (You can refer [[Overall/CentOS/]])

*Install&Setup [#ed386da0]
:Step.1|
Check if the Apache Web Server is installed.

 # yum list installed | grep httpd

If it is not installed, execute the following command.

 # yum install httpd

:Step.2|
Check if PHP is installed.

 # yum list installed | grep php

If it is not installed, execute the following command.

 # yum install php-*5.3*


:Step.3|
Open PHP configuration.

 # vi /etc/php.ini

If you can't find php.ini in etc directory, you can search with the following command.

 # php -i

:Step.4|
Edit as below.

 default=path = "UTF-8"
 mbstring.language = English
 mbstring.internal_encoding = UTF-8
 mbstring.http_input = auto
 mbstring.http_output = pass
 mbstring.encoding_translation = off

*HowToUse [#c3cb9a8c]
:Step.1|
xxx

*Author [#b6ad4b5a]
S.Yatsuzuka