rrrfusco
rrrfusco

Reputation: 1119

PEAR config-set error

I'm trying to follow this post to fix PEAR settings.

When I enter pear config-show These values are returned.

PEAR executables directory     bin_dir          D:\path\to\xampp\php
User Configuration File        Filename         C:\Windows\pear.ini
System Configuration File      Filename         C:\Windows\pearsys.ini


There are no local PEAR files on my machine. When I enter:

pear config-set doc_dir D:\path\to\php\pear\docs  

This is returned

config-set: only the layers: "user" or system are supported

How do I fix this?

Upvotes: 1

Views: 2207

Answers (1)

cweiske
cweiske

Reputation: 31088

$ pear help config-set
pear config-set [options] <parameter> <value> [layer]

Could it be that you have a space somewhere in your path? If yes, you have to quote that argument.

Upvotes: 4

Related Questions