AppServ 移轉到CentOS 5.3

Centos 5.3 i386
基本安裝, 也沒勾server選項
安裝其它軟體
yum install php
yum install php-gd
yum install php-mysql
yum install mysql-server
yum install php-mbstring

安裝vmware tools
rpm -ivh VMwareTools-7.7.5-156745.i386.rpm
然後跟著提示打
/usr/bin/vmware-config-tools.pl

路徑
mysql data
/var/lib/mysql

www
/var/www/html

add follow to /etc/my.cf,  因為有些資料沒有設default character set , 所以
直接copy檔案的話, 其db的default character會變成latin
[mysql]
default-character-set = utf8

[mysqld]

default-character-set = utf8
character-set-server = utf8
collation-server = utf8_general_ci
init_connect = ‘SET collation_connection = utf8_general_ci’
init_connect = ‘SET NAMES utf8’

更改etc/php.ini
display_error = on
register_global = on
include_path = “.:/php/includes;/var/www/html/FastTemplate"

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *

What is 10 + 11 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)