doublejosh doublejosh - 6 months ago 37
PHP Question

Installing PHP PEAR code sniffer (mac)

Attempting to install the PHP PEAR code sniffer extension on a mac (after installing Mac Ports) to no avail. Ultimate goal is Drupal code sniffing in Komodo somewhat via these instructions... http://blog.8bitplateau.net/drupa-code-sniffer-komodo/

Command:

pear install PHP_CodeSniffer


Error:


No releases available for package "pear.php.net/PHP_CodeSniffer"

Answer

Just needed to update my php.ini for include_path = ".:/opt/local/lib/php"

Comments