How do I run a php script on linode?

2 Replies

Carefully :D

To be more specific:

Linode is selling you an unmanaged virtual private server. This is equivalent to if you were to install a Linux distribution on a spare computer at home. You then install whatever you want (within reason and ToS) on it. So there are numerous different ways to install and run PHP on your server.

While I personally prefer lighttpd, the popular web server seems to be nginx, so here's the Linode guide to installing nginx with php: … p-fastcgi/">

If you really want to use Apache: … 0.04-lucid">

But if you use Apache keep in mind that default config they have you use will be memory-starved unless you lower max_clients.


Please enter an answer

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] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct