VISTA php+apache+mysql

回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

VISTA php+apache+mysql

文章 yehlu »

http.conf
DocumentRoot "C:/Z"

<Directory>

Options Indexes FollowSymLinks

DirectoryIndex index.php


# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/php"

#將 php5ts.dll、libmysql.dll、php.ini-dist copy 到 C:\WINDOWS

php.ini
extension_dir = "c:/php/ext"
extension=php_mbstring.dll
extension=php_mysql.dll

MySQL 設定
mysql\bin\MySQLInstanceConfig.exe

my.ini
datadir="C:/Z/mysql/"
回覆文章

回到「PHP」