Re: [PHP-INSTALL] Browser tries to download php file

[email protected] (Juan Mas)
Newsgroups php.install
Message-ID <[email protected]>
Finally figured it out!!!  Since I was only using mod_perl when I
first set up Apache, I had this in my conf file:

<Location />
        SetHandler perl-script
        PerlHandler HTML::Mason::ApacheHandler
</Location>

So this must have been causing Perl to try to parse everything.  In
the <Location /> tag I put in the full path to where I needed
perl/mason to be used, then restarted apache and finally got the php
to display!!!!  Thanks for the help!

On Tue, Jun 30, 2009 at 6:25 PM, Keith Roberts<[email protected]> wrote:
> On Tue, 30 Jun 2009, Juan Mas wrote:
>
>> To: Keith Roberts <[email protected]>
>> From: Juan Mas <[email protected]>
>> Subject: Re: [PHP-INSTALL] Browser tries to download php file
>>
>> I think there is something to this, but could definitely use some
>> input.  I have /usr/local/apache/bin/apachectl as the startup.  This
>> does point to /usr/local/apache/bin/ and the only httpd.conf I can
>> locate is in apache/conf.  But, if I do a 'which httpd', it points to
>> /usr/local/bin.  If I do a httpd -l there, it does list mod_perl, but
>> not mod_php.  But, that httpd isn't running anywhere that I can see.
>> I'm not sure who to switch this so that the default is
>> /usr/local/apache/bin/httpd.  Though I don't see how it's an issue
>> considering if I 'ps', it only shows /usr/local/apache/bin/httpd
>> running.
>
> I'm not familiar with Gentoo Linux. Does it have a package manager?
>
> If so, can you uninstall Gentoo's version of Apache (httpd) server? That
> would make things easier to deal with then.
>
> Maybe your problem would disappear then as well?
>
> Kind Regards,
>
> Keith
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.