nicktendo
nicktendo

Reputation: 691

Installing PEAR on XAMPP

Attempting to install propel with PEAR on XAMPP.

This is the error I get when attempting to: pear install -a propel/propel_generator

ERROR: failed to mkdir C:\php\pear\data\propel_generator\lib\behavior

Why would it error out on failing to make a directory? I attempted to make that directory manually, and install, but it gave me the same error.

Upvotes: 2

Views: 2448

Answers (2)

Ananth
Ananth

Reputation: 1998

open cmd with "run as administrator"

Upvotes: 0

SteppingHat
SteppingHat

Reputation: 1362

To me it sounds like your operating system's file permissions are denying access to the directory.

Try editing the permissions for the C:\php directory and allow everyone read and write and then append it to all child directories and give it a try then.

Upvotes: 1

Related Questions