So -- da ich nun mehrfach gebeten wurde, unsre/meine Server-Config mal zu posten, möchte ich das nun hier mal erledigen ...
Installation der Teile und
Apc sollten erledigt sein
fangen wird mal an:
Apache
/etc/apache2/sites-enabled
(AUSZUG)
Code:
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
ServerName www.XXXXXXXXXXXXX.*
ServerAlias XXXXXXXXXXXXX.*cx *.XXXXXXXXXXXXX.*x
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
# AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
# RedirectMatch ^/$ /apache2-default/
</Directory>
<IfModule sapi_apache2.c>
php_admin_value upload_max_filesize 1406978
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www:/tmp:/var/lib/php5:/usr/share/phpmyadmin:/etc/phpmyadmin"
</IfModule>
<IfModule mod_php5.c>
php_admin_value upload_max_filesize 1406978
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www:/tmp:/var/lib/php5:/usr/share/phpmyadmin:/etc/phpmyadmin"
</IfModule>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
weiter zur php.ini
(AUSZUG)
Code:
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example, on Windows:
;
; extension=msql.dll
;
; ... or under UNIX:
;
; extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.
; Example lines:
;extension=mysql.so
;extension=gd.so
extension="apc.so"
apc.enabled=1
apc.file_update_protection=2
apc.optimization=0
apc.shm_size=32
apc.shm_segments=1
apc.gc_ttl=7200
apc.ttl=7200
apc.num_files_hint=1024
apc.enable_cli=0
weiter zum Mysql (my.cnf)
(AUSZUG)
Code:
#
# * Fine Tuning
#
key_buffer = 128M
max_allowed_packet = 16M
sort_buffer = 15M
thread_stack = 128K
thread_cache = 32
thread_cache_size = 8
max_connections = 500
table_cache = 512
#thread_concurrency = 10
#
# * Query Cache Configuration
#
query_cache_limit = 1M
query_cache_size = 16M
so --

ich hoffe, ich hab nix vergessen
nur die Zusatzteile hab ich weggelassen