Home >Backend Development >PHP Tutorial >php-pear安装phpunit

php-pear安装phpunit

WBOY
WBOYOriginal
2016-06-23 14:32:54823browse

php-pear安装phpunit

官方文档:http://www.phpunit.de/manual/current/en/installation.html

echo 复制下面整段shell到命令行终端中,会自动逐条执行。sudo ln -s /usr/local/php/bin/pear /usr/bin/pearsudo pear config-set auto_discover 1sudo pear install pear.phpunit.de/PHPUnitsudo ln -s /usr/local/php/bin/phpunit /usr/bin/phpunitphpunit --version
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:windows nginx php配置Next article:配置PHP(转载)