How to install php depend on project running in wamp on windows? I've checked what's on website, but found nothing. Thanks.
1条回答 默认 最新
- dsfsad089111 2014-11-15 21:32关注
To install PHP Depend on a WAMP installation follow these steps:
- Download the latest phar-archive to a suitable location.
- Check if the php executable is on your path. Start a command prompt and run:
where php
- If it returns a path, you can use
pdepend
by runningphp pdepend.phar
(from a command prompt) - 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
. - A second solution is modifying your
PATH
variable to include the php directory
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报