Nutzloses Wissen
Deine IP:

Dein Host:

Seitenaufbau dauerte:

Aktuelle Uhrzeit (UTC):
05-10-2022 19:07:22

Letzten Lottozahlen [?]:
1, 3, 19, 37, 43, 49
SZ: 0
Tipps und Tricks

PHP scripts are offered for download instead of being processed

Direct link:
Tips und Tricks #13
PHP 5, Apache (Zend, ASF)

Assuming you have every package required installed and PHP scripts are still offered for download instead of being processed, you want to check the following:
  1. sudo a2enmod php5 (in a shell) to activate PHP module in Apache
  2. Reconfigure /etc/apache2/mods-available/php5.conf as shown below
<IfModule mod_php5.c>
<FilesMatch "\.ph(p3?|tml)$">
SetHandler application/x-httpd-php
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
# To re-enable php in user directories comment the following lines
# (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
# prevents .htaccess files from disabling it.
#<IfModule mod_userdir.c>
# <Directory /home/*/public_html>
# php_admin_value engine Off
# </Directory>
Remember to restart Apache afterwards. (To make that clear: Restart means stop followed by start!)
Letzte Meldungen
13.08.2011 - Counter-Strike GO ...[more]

10.04.2011 - Monday Night Combat ...[more]

25.02.2011 - Humorvolles ...[more]

23.01.2011 - 1.5 GHz, 3 GB Speicher, ... ...[more]

20.01.2011 - Liste der QuakeNet Achievements und wie man sie bekommt bereitgestellt ...[more]

31.12.2010 - Guten Rutsch ...[more]

16.12.2010 - gelignAIte - Official Release ...[more]

11.11.2010 - openTTD AI ...[more]

26.10.2010 - Zeitreisen scheinen möglich ...[more]

04.09.2010 - Abschaltung "index.php4" ...[more]

Lieber ATI oder NVidia?

Legal notes
© 2000 - 2021 The Black Eagle Eyes, Alle Rechte vorbehalten