如何安装php取决于wamp?

How to install php depend on project running in wamp on windows? I've checked what's on website, but found nothing. Thanks.

http://pdepend.org

To install PHP Depend on a WAMP installation follow these steps:

  1. Download the latest phar-archive to a suitable location.
  2. Check if the php executable is on your path. Start a command prompt and run: where php
  3. If it returns a path, you can use pdepend by running php pdepend.phar (from a command prompt)
  4. If it doesn't you must supply the full path to the php interpreter. The path to the php interpreter will be something like \wamp\bin\php\{phpversion}\php.exe, depending on your installation settings. The command will thus than be \wamp\bin\php\{phpversion}\php.exe pdepend.phar.
  5. A second solution is modifying your PATH variable to include the php directory