Zu Testzwecken möchte ich aus meinem Rechner einen Server machen für HTML und PHP. So habe ich Apache2 installiert, apache2.conf eingerichtet und den Dienst gestartet. Nach einigen Einstellungen an meinem Router lief das dann auch. Doch nun kriege ich PHP nicht zum laufen. Ich habe mir den Quellcode gedownloadet und installiert, die neuste Version. Doch nun weiss ich nicht wie weiter. Bei den Google-Anleitungen blicke ich auch nicht ganz durch, könnt ich mir helfen? Hier meine apache2.conf:
ServerRoot "/etc/apache2"
LockFile /var/lock/apache2/accept.lock
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_worker_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
User www-data
Group www-data
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
DefaultType text/plain
HostnameLookups Off
ErrorLog /var/log/apache2/error.log
LogLevel warn
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
Include /etc/apache2/httpd.conf
Include /etc/apache2/ports.conf
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
ServerTokens Full
ServerSignature On
Include /etc/apache2/conf.d/
Include /etc/apache2/sites-enabled/
Lg

Hilfe
Neues Thema
Antworten

Nach oben



