Reply to Re: need help opening *.php

Your name:

Reply:


Posted by The Natural Philosopher on 10/18/25 12:00

shahin wrote:
> When trying to open a *.php page on my apache server all I get is a
> message
> box asking me if I want to save or open the page.
>
> any idea why?

Vaguely. Cross posted to comp.lang.php. IIRC its to do with having
apache configure to 'know' to execute php'..somewhere deep in the guts
of the apache configs..

this is a starting point from my system (debian sarge, apache2, php5)

/etc/apache2$ grep php */*
mods-available/dir.conf: DirectoryIndex index.html index.cgi
index.pl index.php index.xhtml index.htm
mods-available/php5.conf:<IfModule mod_php5.c>
mods-available/php5.conf: AddType application/x-httpd-php .php .phtml .php3
mods-available/php5.conf: AddType application/x-httpd-php-source .phps
mods-available/php5.load:LoadModule php5_module
/usr/lib/apache2/modules/libphp5.so
mods-enabled/dir.conf: DirectoryIndex index.html index.cgi
index.pl index.php index.xhtml index.htm
mods-enabled/php5.conf:<IfModule mod_php5.c>
mods-enabled/php5.conf: AddType application/x-httpd-php .php .phtml .php3
mods-enabled/php5.conf: AddType application/x-httpd-php-source .phps
mods-enabled/php5.load:LoadModule php5_module
/usr/lib/apache2/modules/libphp5.so

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация