简体   繁体   中英

How to install php depend on 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM