Update:

I changed the DirectoryIndex in srm.conf to
it's default index.html
I put DirectoryIndex index.html, index.htm,index.php
in httpd.conf because it wasn't working from srm.conf

php files are still not being handled.

Someone recommended using "AddHandler" on the
debin irc channel? What is the correct "AddHandler"
command?

Alex

On Monday 30 April 2001 04:23 pm, Alex Miller wrote:
> When I attempt to browse a .php file, the browser
> asks if I want to "save" or "open" the file, as if it
> were something to download.
>
> I have a debian potato system, originally derived from
> Storm Linux.
>
> I have installed the php4 package, and the php-mysql
> package.
>
> That placed a commented out load module in my httpd.conf
>
> Since debian uses both httpd.conf and srm.conf here are
> the relevant portions
>
> httpd.conf
> #The debian installation left this commented out
> LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
>
> srm.conf
> #The debian installation left this as just index.html, so
> #I added to it
> DirectoryIndex index.html,index.htm,index.php
>
> # For example, the PHP3 module (a separate Debian package)
> # will typically use:
> # Commented out by Alex Miller 4/30/2001
> #AddType application/x-httpd-php3 .phtml
> #AddType application/x-httpd-php3-source .phps
> #AddType application/x-httpd-php3 .php
> #Added by Alex Miller 4/30/2001
> AddType application/x-httpd-php4 .php
>
> Notice that the AddType directives were for php3, it seems.
> I added the AddType application/x-httpd-php4.php
> myself. This I got from the FAQ.
>
> In the FAQ (regarding RPM installations - not Debian)
> there are sever AddModule directives. In my debian
> installation I have no AddModule directives for any
> modules.
>
> I am using virtual hosts.
>
> Alex Miller

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to