我正在尝试安装PHP 5.3.8以与WAMP(Windows)一起使用。
我从PHP网站下载了它,将其复制到bin文件夹中,并将此行添加到wampmanager.ini中:
Type: item; Caption: "5.3.8"; Action: multi; Actions:switchPhp5.3.8;
和:
[switchPhp5.3.8]
Action: service; Service: wampapache; ServiceAction: stop; Flags: ignoreerrors waituntilterminated
Action: run; FileName: "c:/wamp/bin/php/php5.3.0/php-win.exe";Parameters: "switchPhpVersion.php 5.3.8";WorkingDir: "c:/wamp/scripts"; Flags: waituntilterminated
Action: run; FileName: "c:/wamp/bin/php/php5.3.0/php-win.exe";Parameters: "-c . refresh.php";WorkingDir: "c:/wamp/scripts"; Flags: waituntilterminated
Action: run; FileName: "net"; Parameters: "start wampapache"; ShowCmd: hidden; Flags: waituntilterminated
Action: resetservices
Action: readconfig;
但这是行不通的...
编辑并启动WAMP之后,这些更改将从ini文件中删除。
您为什么不安装最新版本的WAMP
WampServer 2.1a [24/12/10]包括:
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句