|
Posted by Mityok on 02/16/07 14:48
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
Navigation:
[Reply to this message]
|