0

When I use command as follow:

drush core-config

and then enter

1

a error displayed:

sh:/etc/php.ini: Permission denied

how to solve this problem?

0

You are trying to edit a system level file (ex. /etc/php5/cli/php.ini) using Drush and you don't have access to it at your current permission level. You need to login using an account with higher permissions or use sudo.

  • sorry,I use root instead,but it still not work. – Ivan Mar 5 '13 at 6:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.