Ik heb een onder suse Linux met apache een webserver opgezet. Nu wil ik op deze server een php file uitvoeren, maar wanneer ik deze aanmaak en via een windows client opvraag krijg ik de vraag of ik het php bestand wil opslaan. maw de webserver herkent de extentie .php niet als een uitvoerbaar bestand.
Wanneer ik apache opstart krijg ik het volgende te zien:
De php4 module is dus gewoon geinstalleerd.
In mijn httpd.conf staat het volgende over php
Wat doe ik fout / vergeet ik?
Wanneer ik apache opstart krijg ik het volgende te zien:
code:
1
| starting httpd [ LDAP PERL PHP4 SSL ] done |
De php4 module is dus gewoon geinstalleerd.
In mijn httpd.conf staat het volgende over php
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| # # AddType allows you to tweak mime.types without actually editing it, or to # make certain files to be certain types. # # For example, the PHP 3.x module (not part of the Apache distribution - see # http://www.php.net) will typically use: # <IfModule mod_php3.c> AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps AddType application/x-httpd-php3 .phtml </IfModule> # # And for PHP 4.x, use: # <IfModule mod_php4.c> AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x-httpd-php-source .phps </IfModule> |
Wat doe ik fout / vergeet ik?