Last active
September 12, 2016 05:37
-
-
Save textarcana/4679293 to your computer and use it in GitHub Desktop.
Sonar for PHP installation steps for CentOS 6. See also http://docs.codehaus.org/display/SONAR/Installing+PHP+Environment as well as my Pinboard bookmarks for Sonar installation: https://pinboard.in/u:noahsussman/t:sonar+install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Sonar for PHP installation for CentOS 6 | |
| # See http://docs.codehaus.org/display/SONAR/Installing+PHP+Environment | |
| pear channel-discover pear.phpunit.de | |
| pear channel-discover pear.symfony-project.com | |
| pear install phpunit/PHPUnit-3.5.5 | |
| yum -y install php-devel | |
| pecl install xdebug | |
| # edit /etc/php.ini and add this line: | |
| # zend_extension="FULL_PATH_TO/xdebug.so" | |
| pear channel-discover pear.pdepend.org | |
| pear install pdepend/PHP_Depend-1.0.3 | |
| pear channel-discover pear.phpmd.org | |
| pear install --alldeps phpmd/PHP_PMD-1.3.2 | |
| pear install PHP_CodeSniffer-1.3.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment