For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > May 2004 > Problem with PHP install









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem with PHP install
Lynwood Stewart

2004-05-18, 9:30 pm

I have 3 servers that need to run php. The installation of the first 2 went
fine but the third one is not working. Any helpful suggestions would be
great.

OS - Linux Fedora Core 1
Web Server - apache 2.0.49
PHP - 4.3.6
Linux Kernel - 2.4.22-1.2115

I installed using the instructions found on
http://dan.drydog.com/apache2php.html. It was a very straight install with
no error messages. Whats happening now is that when I go to any web site
using PHP everything on a browser works just fine. This is true also for
websites, not using PHP located on the server. I can place plain HTML in
the PHP directory of the site and it again works. Any PHP file trying to
load into a browser immediately brings up a dialog asking to open or save
the file.

The server log files do not indicate an error even in server debug mode.

Lyn Stewart
lynwood.a.stewart@boeing.com


BPR2

2004-05-20, 11:32 am

Almost sounds like apache is not sending the correct mime header info for
php file types.

I suggest you check the MIME types (Apache Config file) in the failing
server.


"Lynwood Stewart" <lynwood@nwlink.com> wrote in message
news:10al9qf2r26lm65@corp.supernews.com...
> I have 3 servers that need to run php. The installation of the first 2

went
> fine but the third one is not working. Any helpful suggestions would be
> great.
>
> OS - Linux Fedora Core 1
> Web Server - apache 2.0.49
> PHP - 4.3.6
> Linux Kernel - 2.4.22-1.2115
>
> I installed using the instructions found on
> http://dan.drydog.com/apache2php.html. It was a very straight install

with
> no error messages. Whats happening now is that when I go to any web site
> using PHP everything on a browser works just fine. This is true also for
> websites, not using PHP located on the server. I can place plain HTML in
> the PHP directory of the site and it again works. Any PHP file trying to
> load into a browser immediately brings up a dialog asking to open or save
> the file.
>
> The server log files do not indicate an error even in server debug mode.
>
> Lyn Stewart
> lynwood.a.stewart@boeing.com
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com