I know that there are already several threads, but I hit a brick wall and cannot find the threads with the same problem as now. In a nutshell, my problem is that the PEAR configuration is still installed in the C: \ Windows directory, where it always (correctly) fails due to permissions. I added system environment variables as follows, so I don't know why they seem to be 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 mistake
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 installation 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 tried to remove the installation and start from scratch, but still not a cube. Anyone have any ideas on this?
source share