[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP funktioniert nicht mehr



Hallo Torsten,

> Als Alternative könntest du uns auch einfach mal die entsprechenden
> Passagen aus der Apache-Config geben, evtl. ist da nur ein Tippfehler
> oder sowas drin.

Ich hoffe ich mache hier mal alles relevante rein. Fangen wir mit der
modules.conf an:
---
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
---
Ich habe den Pfad geprüft, das File existiert.

Dann die mime.types:
---
application/x-httpd-php				phtml pht php
application/x-httpd-php-source			phps
application/x-httpd-php3			php3
application/x-httpd-php3-preprocessed		php3p
application/x-httpd-php4			php4
---

und jetzt die httpd.conf. Vorab ein Grüssle, Tobias
---

### Section 1: Global Environment
ServerType standalone
ServerRoot /etc/apache
LockFile /var/lock/apache.lock

Include /etc/apache/modules.conf

<IfModule mod_status.c>
  ExtendedStatus On
</IfModule>

### Section 2: 'Main' server configuration
User www-data
Group www-data
ServerName localhost
DocumentRoot /var/www
<Directory />
    Options SymLinksIfOwnerMatch
    AllowOverride None
</Directory>
<Directory /var/www/>
    Options Indexes Includes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

<IfModule mod_dir.c>
    DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php4
</IfModule>

AccessFileName .htaccess
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

UseCanonicalName Off
TypesConfig /etc/mime.types
DefaultType text/plain

<IfModule mod_mime_magic.c>
    MIMEMagicFile /usr/share/misc/file/magic.mime
</IfModule>

<IfModule mod_mime.c>
    AddType application/x-httpd-php .php
    #AddType application/x-httpd-php-source .phps
</IfModule>

AddDefaultCharset on



Reply to: