Upgrading PEAR in command prompt: "Error:Failed to mkdir C:\..."

Posted by noscript on Stack Overflow See other posts from Stack Overflow or by noscript
Published on 2012-09-03T16:03:05Z Indexed on 2012/10/01 15:38 UTC
Read the original article Hit count: 203

Filed under:
|
|
|
|

I've just installed PEAR into WAMP attempting to follow this article. It all seems to have gone okay but when I type "pear upgrade" into the command prompt I get this error:

ERROR: failed to mkdir c:\php\pear\docs\Archive_Tar\docs

It is looking on the wrong drive (and missing a subdirectory in that path by the looks of it). It should be looking for D:\php\php5.3.13\pear\docs\Archive_Tar\docs

When specifying installation directories I chose ones on the D:\ and thats where the folder structure is, the include_path in both php.ini locations have also been updated. I've also reset the WAMP server after making the changes.

How do I set it to look / install the package in the right place?

© Stack Overflow or respective owner

Related posts about php

Related posts about location