Details of what I did are as follows.
Firstly, I ran the following tests - as suggested at http://pear.php.net/manual/en/installation.checking.php.
Installation meets the dependency requirements? (yes)
Code: Select all
C:\xampp\php> pear version
PEAR Version: 1.10.1
PHP Version: 5.6.15
Zend Engine Version: 2.6.0
Running on: Windows NT RED-LAPTOP 10.0 build 16299 (Windows 10) i586
Code: Select all
C:\xampp\php> php --ini
Configuration File (php.ini) Path: C:\WINDOWS
Loaded Configuration File: C:\xampp\php\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)
Code: Select all
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\xampp\php\php.ini
include_path C:\xampp\php\PEAR
Code: Select all
C:\xampp\php> php -c php.ini -r "echo get_include_path();"
C:\xampp\php\PEAR
Code: Select all
<?php require_once 'System.php'; var_dump(class_exists('System', false)); ?>
Code: Select all
C:\xampp\php> php C:\ [...] public_html\check_pear.php
bool(true)
Code: Select all
C:\xampp\php> pear install dio
No releases available for package "pear.php.net/dio" - package pecl/dio can be installed with "pecl install dio"
install failed
C:\xampp\php> pecl install dio
Failed to download pecl/dio within preferred state "stable", latest release is version 0.1.0, stability "beta", use "channel://pecl.php.net/dio-0.1.0" to install
install failed
C:\xampp\php> pear install channel://pecl.php.net/dio-0.1.0
downloading dio-0.1.0.tgz ...
Starting to download dio-0.1.0.tgz (36,960 bytes)
..........done: 36,960 bytes
ERROR: failed to mkdir C:\php\pear\tests\dio\tests