LAMP Linode

I instantiated a LAMP Linode and there seems to be no PHP, Apache or MySql installed. Tried "which php", "which apache2" and "which mysqld" and there were no replies. Any suggestions?
Thank you in advance.
Jaime

1 Reply

Are any of those in your PATH? That's where which(1) looks. From the man(1) page:

which returns the pathnames of the files (or links) which would be executed in the current environment, had its arguments been given as commands in a strictly POSIX-conformant shell. It does this by searching the PATH for executable files matching the names of the arguments. It does not canonicalize path names.

I added the italics…

-- sw

P.S. Likely the only ones of these that need to be in your PATH is php(1). Neither apache2(1) nor mysqld(1) aren't typically runnable from the command line.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct