Hopefully, I'm asking this in the correct forum. I'm not sure, just figured this was the closest to what I'm asking about.
So the background: I've set up a few sites, and particularly have been using Drupal over the past few years. In that time, I've never really used SSH for anything, but wanted to learn. And in particular, I want to learn to use drush, a command-line utility for drupal sites.
So, here I go trying to follow instructions to install it with pear, and all I get are errors.
I think I have an idea as to the problem, but have no idea where/how to fix it.
I noticed that most examples/instructions for ssh commands are telling me to do things like:
Well, on my web server, I get an error, permission denied. But if I instead do:
Then it works flawlessly, creating the new directory.
Well, when I try the command:
and I'm getting this error:
In case it helps any, I'm attempting this via Putty on Windows 7, connecting to a linux/apache web server.
I tried contacting tech support for the hosting company, but was told they (folks handling instant chat support) knew nothing of the pear/drush commands, so couldn't help... so I figured next best spot might be asking on a forum board.
Thanks for anything anyone can tell me.
And let me know if I need to provide anymore information.
"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57
So the background: I've set up a few sites, and particularly have been using Drupal over the past few years. In that time, I've never really used SSH for anything, but wanted to learn. And in particular, I want to learn to use drush, a command-line utility for drupal sites.
So, here I go trying to follow instructions to install it with pear, and all I get are errors.
I think I have an idea as to the problem, but have no idea where/how to fix it.
I noticed that most examples/instructions for ssh commands are telling me to do things like:
Code:
mkdir /mynewdirectoryname
Well, on my web server, I get an error, permission denied. But if I instead do:
Code:
mkdir mynewdirectoryname
Well, when I try the command:
Code:
pear upgrade
Error getting channel info from pear.php.net: The value of config option cache_dir (/tmp/pear/cache) is not a directory and attempts to create the directory failed.
In case it helps any, I'm attempting this via Putty on Windows 7, connecting to a linux/apache web server.
I tried contacting tech support for the hosting company, but was told they (folks handling instant chat support) knew nothing of the pear/drush commands, so couldn't help... so I figured next best spot might be asking on a forum board.
Thanks for anything anyone can tell me.
And let me know if I need to provide anymore information.
"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57