1.下载php
2.替换wmnp中的php目录
3.把php目录中的php.ini-production改名为php.ini.stpl,copy到\etc\set目录中.
4.修改php.ini.stpl
把enable_dl改为On
添加扩展,如下:
enable_dl = On
extension_dir = "D:/wmnp-0.1.3/php/ext"
extension=php_bz2.dll
extension=php_curl.dll
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mcrypt.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_pdo.dll
extension=php_pdo_mysql.dll
extension=php_pdo_sqlite.dll
extension=php_zip.dll
升级nginx,只需要copy替换即可.
注: wmnp每次启动都会将php.ini.stpl文件copy为php.ini