You are here: Re: php files downloading « PHP Programming Language « IT news, forums, messages
Re: php files downloading

Posted by danish on 02/16/07 17:54

On Feb 16, 7:48 pm, "Mityok" <mit...@gmail.com> wrote:
> On Feb 16, 1:50 pm, "danish" <me.linuxad...@gmail.com> 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
>
> Check the httpd.conf Content-type settings for lines related to PHP5.
> If you have module-based PHP installation, there should be line like
> that:
>
> LoadModule php5_module "path-to-your-php-module"
>
> Also,check the mime.types file. There should be lines
>
> application/x-httpd-php php
> application/x-httpd-php-source phps

> application/x-httpd-php php
> application/x-httpd-php-source phps
These lines are not present in mime.types file but in httpd.conf
file. The LoadModule directive is also present in the httpd.conf file

 

Navigation:

[Reply to this 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

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