Reply to Re: php files downloading

Your name:

Reply:


Posted by IchBin on 02/16/07 16:40

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-)

[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

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