Home  |  Linux  | Mysql  | PHP  | XML
From:Juan Mas Date:Wed Jul  1 09:07:19 2009
Subject:Re: Browser tries to download php file
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<keith@karsites.net> wrote:
> On Tue, 30 Jun 2009, Juan Mas wrote:
>
>> To: Keith Roberts <keith@karsites.net>
>> From: Juan Mas <juan.mas@gmail.com>
>> Subject: Re: [PHP-INSTALL] Browser tries to download php file
>>
>> I think there is something to this, but could definitely use some
>> does point to /usr/local/apache/bin/ and the only httpd.conf I can
>> I'm not sure who to switch this so that the default is
>> 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
>
>
Navigate in group php.install at sever news.php.net
Previous Next


Your recent visits
Re: [PHP] 64 Bit IIS 6 ( 32 Bit mode ) + 32Bit php connect with MS-SQL Server
Redirecting STDOUT and STDERR for system()
Re: [PHP-DB] Storing Images #2
Re: Need help with Mail::Sender
RE: [PHP-WIN] What about php 5.3 and printers or PHP_PRINTER.DLL ?


  
© No Copyright
You are free to use Anything
Site Maintained by Zareef Ahmed
Powered By PHP Consultants