First of all, thanks to @Sebastian Bergmann for reminding and sorry for my careless about this reblog because End of Life for PEAR Installation Method to PHPUnit from github and The package PHPUnit is not maintained anymore and has been superseded. Package has moved to channel pear.phpunit.de, package PHPUnit from pear.php.net.
So this blog should be a reblog of installing PHPUnit(<3.7) in Windows7 from http://thecancerus.com/ and I found it was still useful for understanding the theory of configuration of php(in wamp) and the environment variables.
The newest manual installation of PHPUnit in windows can be found its documentation.
The best way to create a shortcut in wamp www directory is to create an alias.
Alias /shortcut “c:/your_project_path/”
Options Indexes FollowSymLinks MultiViews
Allow from all
The command fsutil used to create a hardware link in windows.
Attention: the hardware link can only created in the same volume(disk).
1. to create a hardlink
fsutil hardlink create NewFileName ExistingFileName
2. to list the hardlink
fsutil hardlink list FileName
Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Vista
Source from Microsoft technet hardlink :
This post will describe how to use junction link in windows 7.
When editing the hosts file in windows7 with notepad++, an error appears “please check if this file is opened in another program”.
Capture of error :
Launch notepad++ with role of administrator, and re-open hosts by notepad, it could be saved.
But how could we launch an application(ex. notepad) automaticly by administrator in windows7 ?
Waiting for the answers !
Tomcat6 is refused by default by Window7.
If you wanna it launch automaticlly, you have to do like this(my system is in French).
It works for wamp too.
Right click Tomcat icon, choose “Proprities”, and then follow the schema below :
Choose tag “compatibility”, and click “Modify parameter for the other users”