Apache/2.2.16 (Win32) PHP/5.2.14
發表於 : 2010-10-05 09:59:16
1. unzip php.zip c:\php
2.mkdir c:\tmp
3.copy c:\php\php.ini_dist c:\windows\php.ini
4.copy c:\php\php5ts.dll c:\windows\system32
4.copy c:\php\lib*.dll c:\windows\system32
4.copy c:\php\aspell-15.dll c:\windows\system32
4.copy c:\php\fdftk.dll c:\windows\system32
4.copy c:\php\gds32.dll c:\windows\system32
4.copy c:\php\msql.dll c:\windows\system32
4.copy c:\php\ntwdblib.dll c:\windows\system32
4.copy c:\php\ssleay32.dll c:\windows\system32
httpd.conf
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
# Add to the end of the LoadModule section
LoadModule php5_module "C:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
php.ini
extension_dir = "c:\php\ext"
extension=php_mysql.dll
extension=php_mcrypt.dll
extension=php_mbstring.dll
register_globals = On
phpmyadmin
1.copy config.sample.inc.php config.inc.php
2.$cfg['Servers'][$i]['AllowNoPassword'] = ture;
2.mkdir c:\tmp
3.copy c:\php\php.ini_dist c:\windows\php.ini
4.copy c:\php\php5ts.dll c:\windows\system32
4.copy c:\php\lib*.dll c:\windows\system32
4.copy c:\php\aspell-15.dll c:\windows\system32
4.copy c:\php\fdftk.dll c:\windows\system32
4.copy c:\php\gds32.dll c:\windows\system32
4.copy c:\php\msql.dll c:\windows\system32
4.copy c:\php\ntwdblib.dll c:\windows\system32
4.copy c:\php\ssleay32.dll c:\windows\system32
httpd.conf
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
# Add to the end of the LoadModule section
LoadModule php5_module "C:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
php.ini
extension_dir = "c:\php\ext"
extension=php_mysql.dll
extension=php_mcrypt.dll
extension=php_mbstring.dll
register_globals = On
phpmyadmin
1.copy config.sample.inc.php config.inc.php
2.$cfg['Servers'][$i]['AllowNoPassword'] = ture;