Good configration starting point for a PHP site on a 768?

I've got a site I'm ready to move over to a brand new Linode 768. It will be the only web site with any traffic on this Linode (about 2000 visitors per day, 10000 page views per day). The site is 100% PHP with just a few MySQL calls on a few pages (99% of pages make no MySQL calls whatsoever, just about 4 or so PHP includes per page).

Is there a good starting point for a Apache config? I've turned off KeepAlive and HostNameLookups.

I am using compression in each PHP file:

The pertinent parts of my apache2.conf and loaded modules is below. Can anyone suggest anything to improve:

Timeout 300

KeepAlive Off

MaxKeepAliveRequests 100

KeepAliveTimeout 3

StartServers 5

MinSpareServers 5

MaxSpareServers 10

MaxClients 29

MaxRequestsPerChild 0

StartServers 2

MinSpareThreads 25

MaxSpareThreads 75

ThreadLimit 64

ThreadsPerChild 25

MaxClients 29

MaxRequestsPerChild 0

StartServers 2

MaxClients 29

MinSpareThreads 25

MaxSpareThreads 75

ThreadLimit 64

ThreadsPerChild 25

MaxRequestsPerChild 0

HostnameLookups Off

Include module configuration:

Include /etc/apache2/mods-enabled/*.load

Include /etc/apache2/mods-enabled/*.conf

(shown below)

alias.conf

alias.load

auth_basic.load

authn_file.load

authz_default.load

authz_groupfile.load

authz_host.load

authz_user.load

autoindex.conf

autoindex.load

cgi.load

deflate.conf

deflate.load

dir.conf

dir.load

env.load

mime.conf

mime.load

negotiation.conf

negotiation.load

php5.conf

php5.load

reqtimeout.conf

reqtimeout.load

rewrite.load

setenvif.conf

setenvif.load

status.conf

status.load

0 Replies

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