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:
Download WampServer version WampServer2.0a.exe at: http://sourceforge.net/projects/wampserver/files/WampServer%202/WampServer%202.0/
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.
- Download PHP4 for Windows.
- Install or Unzip PHP-files in a PHP-folder like c:\php.
- Stop Apache.
- 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"
- Make sure you change "C:/phpdir" to wherever you put PHP 4.
- Start Apache.
精彩评论