I know there are several threads on this already, but I've hit a brick wall and can't find any threads with the same issue I now have. In a nutshell, my problem is that PEAR's config is still set to the C:\Windows directory, where it always (correctly) fails due to permissions. I've added System environment variables as follows, so I don't know why these seem to be getting ignored:
PHP_PEAR_BIN_DIR=C:\wamp\bin\php\php5.3.4
PHP_PEAR_DATA_DIR=C:\wamp\bin\php\php5.3.4\PEAR\data
PHP_PEAR_DOC_DIR=C:\wamp\bin\php\php5.3.4\PEAR\docs
PHP_PEAR_INSTALL_DIR=C:\wamp\bin\php\php5.3.4\pear
PHP_PEAR_PHP_BIN=C:\wamp\bin\php\php5.3.4\php.exe
PHP_PEAR_SYSCONF_DIR=C:\wamp\bin\php\php5.3.4
PHP_PEAR_TEST_DIR=C:\wamp\bin\php\php5.3.4\PEAR\tests
typical error is
C:\wamp\bin\php\php5.3.4>pear channel-discover pear.phpunit.de
PEAR_Config::writeConfigFile fopen('C:\Windows\pear.ini','w') failed (fopen(C:\Windows\pear.ini): failed to open stream:
Permission denied)
My initial install commands were as follows:
php -d phar.require_hash=0 PEAR/go-pear.phar
pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear channel-discover pear.symfony-project.com
pear install phpunit/PHPUnit
I've tried removing the install and starting from scratch, but still no dice. Anyone have any ideas on this?
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)