|
Posted by danish on 02/16/07 17:56
On Feb 16, 9:40 pm, IchBin <wecon...@ptd.net> wrote:
> Jerry Stuckle wrote:
> > danish wrote:
> >> On Feb 16, 4:15 pm, "danish" <me.linuxad...@gmail.com> wrote:
> >>> On Feb 16, 3:53 pm, "shimmyshack" <matt.fa...@gmail.com> wrote:
>
> >>>> On 16 Feb, 10:32, "danish" <me.linuxad...@gmail.com> wrote:
> >>>>> Hi,
> >>>>> Can anyone suggest me why some .php files are downloading and some are
> >>>>> executing. Ive got php 5.2.0 and apache 2.0.54. Apache came as an rpm
> >>>>> along with Fedora 4. I downloaded php from the site and built it
> >>>>> Thanks
> >>>>> Danish
> >>>> short tags?
> >>>> <? instead of <?php
> >>> Its not making any difference. I changed it bothways
>
> >>> Danish
>
> >> Hi...I found out that this downloading option only comes when the
> >> index.php file is accesses by giving the full url...
>
> >> eg...http://192.168.1.1/inventory/index.php
>
> > This would be an Apache configuration problem, not PHP. I'd recommend
> > you check in alt.apache.configuration. They'll want to know what's in
> > your httpd.conf file.
>
> In the Apache config make sure you added index.php to DirectoryIndex.
>
> Example:
>
> DirectoryIndex index.html index.html.var index.php
> --
> Thanks in Advance... http://weconsultants.prophp.org
> IchBin, Pocono Lake, Pa, USA http://ichbinquotations.awardspace.com
> ______________________________________________________________________
> 'If there is one, Knowledge is the "Fountain of Youth"'
> -William E. Taylor, Regular Guy (1952-)
Thanks for the help Jerry. Ill be posting in the
alt.apache.configuration group.
Ichbin..
I do have index.php in the DirectoryIndex directive
Danish
[Back to original message]
|