I have been trying to install CodeSniffer on NetBeans IDE 8.0.2 (Build 201411181905) and am following these instructions
"Install PHP_CodeSniffer, PHPMD, PHP_Depend and PHPCPD. The preferred way is the installation with the PEAR installer (You have to run these commands as root on *nix, respectively Administrator on Windows systems)."
pear config-set auto_discover 1
pear install --alldeps pear/PHP_CodeSniffer
pear install --alldeps phpmd/PHP_PMD
pear install --alldeps pdepend/PHP_Depend
pear install --alldeps phpunit/phpcpd
pear config-set auto_discover 0
Source:
The first command "pear config-set auto_discover 1" got me to this
which says both "php_ibm_db2.dll and php_pdo_informix.dll" could not be found.
On enteing the second command "pear install --alldeps pear/PHP_CodeSniffer" again got me to the same error (refer to the image up top)
On checking manually, I found both php_ibm_db2.dll and php_pdo_informix.dll are present but somehow it could not be detected/found.
Why this false error and how do I move forward?
Note I have already installed php pear on my xampp.