Home » Questions » Computers [ Ask a new question ]

add directory to sudo path on wubi

add directory to sudo path on wubi

I'm using wubi ubuntu which doesn't have a root account. I have php in a nonstandard location because of lamp. I would like to add a path to the sudo account so I can do sudo php -m for example.

Asked by: Guest | Views: 39
Total answers/comments: 1
Guest [Entry]

"I used this:

sudo su --c ""php -m"""