开发者

Run PHP4 on Wamp5

how to install php4 on wamp5 1.7.4, any ideas?

开发者_如何学GoBTW, I know how to install php4 addon on WampServer 2.


I installed php4 and php5 in my computer. I want to share the way, how to do this:

  1. Download WampServer version WampServer2.0a.exe at: http://sourceforge.net/projects/wampserver/files/WampServer%202/WampServer%202.0/

  2. Download plugin for Apache is version WampServer2-APACHE2058 and Download plugin for PHP is version WampServer2-PHP448 at: http://www.wampserver.com/en/

After download finish, install all plugin and run wampserver. To run php4, right mouse click on

wampserver icon => select Apache => Version => Select 2.0.58.

Then

=> select PHP => Version => select 4.4.8

Good luck


The only component of WAMP that uses PHP is Apache. Hence it is a standard installation procedure, same as any Apache on Windows. Nearly the same on all os.

  1. Download PHP4 for Windows.
  2. Install or Unzip PHP-files in a PHP-folder like c:\php.
  3. Stop Apache.
  4. Edit Apache:
  Replace PHP5 with PHP4:
# PHP5 #LoadModule php5_module "c:/phpdir/php5apache2_2.dll" #PHPIniDir "C:/phpdir/php-5.2.3-Win32"
# PHP4 LoadModule php4_module "C:/phpdir/php4apache2.dll" PHPIniDir "C:/phpdir"
  1. Make sure you change "C:/phpdir" to wherever you put PHP 4.
  2. Start Apache.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜