Skip to content

Instantly share code, notes, and snippets.

@textarcana
Last active September 12, 2016 05:37
Show Gist options
  • Select an option

  • Save textarcana/4679293 to your computer and use it in GitHub Desktop.

Select an option

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
# 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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment