Ik draai hier Suse linux 7.2.
En heb via yast2 apache en php geinstalleerd.
Maar als ik via een windowsclient de hp van de linuxbak laad, lukt dat met een .htm maar .php werkt niet, hij wil het bestand dan downloaden
rpm -qa|grep apache:
apache-contrib-1.0.9-33
apache-doc-1.3.19.48
apache-1.3.19-48
rpm -qa|grep php:
mod_php4-core-4.0.4pl-90
phpdoc-4.0.3-38
mod_php4-4.0.4pl1-90
phplib-7.2c-45
Verder staat o.a. in mijn httpd.conf:
DirectoryIndex index.html index.htm index.php index.php3
#Als ik die DirectoryIndex weglaat, wil hij niet meer index.php downloaden, maar gaat hij #gewoon in de betreffende map en laat hij zien welke bestanden erinstaan.
<IfDefine PHP>
LoadModule php4_module /usr/lib/apache/libphp4.so
</IfDefine>
<IfDefine PHP>
AddModule php4_module.c
</IfDefine PHP>
<IfDefine PHP>
AddType application/x-httpd-php .php .php3 .php4
AddType application/x-httpd-php-source .phps
</IfDefine>
Iemand een idee? Ik vind het trouwens al raar dat het niet direct werkt nadat ik em bij yast geinstalleerd heb
En heb via yast2 apache en php geinstalleerd.
Maar als ik via een windowsclient de hp van de linuxbak laad, lukt dat met een .htm maar .php werkt niet, hij wil het bestand dan downloaden
rpm -qa|grep apache:
apache-contrib-1.0.9-33
apache-doc-1.3.19.48
apache-1.3.19-48
rpm -qa|grep php:
mod_php4-core-4.0.4pl-90
phpdoc-4.0.3-38
mod_php4-4.0.4pl1-90
phplib-7.2c-45
Verder staat o.a. in mijn httpd.conf:
DirectoryIndex index.html index.htm index.php index.php3
#Als ik die DirectoryIndex weglaat, wil hij niet meer index.php downloaden, maar gaat hij #gewoon in de betreffende map en laat hij zien welke bestanden erinstaan.
<IfDefine PHP>
LoadModule php4_module /usr/lib/apache/libphp4.so
</IfDefine>
<IfDefine PHP>
AddModule php4_module.c
</IfDefine PHP>
<IfDefine PHP>
AddType application/x-httpd-php .php .php3 .php4
AddType application/x-httpd-php-source .phps
</IfDefine>
Iemand een idee? Ik vind het trouwens al raar dat het niet direct werkt nadat ik em bij yast geinstalleerd heb