[nycphp-talk] Firefox 3.5.5 not rendering PHP
Dan Horning
dan.horning at planetnoc.com
Fri Dec 4 14:16:42 EST 2009
Do you have the following in your php loader?
AddHandler php5-script .php
AddType text/html .php
--
Dan Horning
American Digital Services - Where you are only limited by imagination.
<mailto:dan.horning at planetnoc.com> dan.horning at planetnoc.com ::
<http://www.americandigitalservices.com>
http://www.americandigitalservices.com
1-518-444-0213 x502 . toll free 1-800-863-3854 . fax 1-888-474-6133
15 Third Street, PO Box 746, Troy, NY 12180 (by appointment only)
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Néstor
Sent: Friday, December 04, 2009 2:06 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Firefox 3.5.5 not rendering PHP
Yes, the PHP script is only doing phpinfo();
I have firebug install on firefox but that does not allow me to see anything
during the PHP operation because it
just aske me to save it.
What tools should I use to see the headers?
:-)
On Fri, Dec 4, 2009 at 10:55 AM, Tom Sartain <tomsartain at gmail.com> wrote:
Do you have any tools to look at the headers coming back from the server?
My guess is that the content-type or disposition is being set weird. The PHP
script is *only* doing phpinfo() right?
On Fri, Dec 4, 2009 at 1:42 PM, Néstor <rotsen at gmail.com> wrote:
Apache is working.
The index.html is displaying
the error.log :
[Fri Dec 04 10:37:48 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8
configured -- resuming normal operations
[Fri Dec 04 10:37:48 2009] [notice] Server built: Dec 10 2008 00:10:06
[Fri Dec 04 10:37:48 2009] [notice] Parent: Created child process 4048
[Fri Dec 04 10:37:48 2009] [notice] Child 4048: Child process is running
[Fri Dec 04 10:37:49 2009] [notice] Child 5444: Released the start mutex
[Fri Dec 04 10:37:49 2009] [notice] Child 4048: Acquired the start mutex.
[Fri Dec 04 10:37:49 2009] [notice] Child 4048: Starting 64 worker threads.
[Fri Dec 04 10:37:50 2009] [notice] Child 4048: Starting thread to listen on
port 80.
[Fri Dec 04 10:37:50 2009] [notice] Child 5444: All worker threads have
exited.
[Fri Dec 04 10:37:50 2009] [notice] Child 5444: Child process is exiting
I can see the phpinfo output on my IE 8 but no on FF 3.5.5
:-(
On Fri, Dec 4, 2009 at 10:15 AM, Tom Sartain <tomsartain at gmail.com> wrote:
First off, try testing in another browser because I doubt that this is a
Firefox specific issue.
Second, try putting a static HTML page on the server and requesting that. It
should show up fine.
Third, and really, this should be one of the first things you always do,
check the error logs for Apache and PHP. Chances are that there is something
in there that would tell you what it causing the problem. Initial guesses
would be that either Apache is throwing an error while trying to load PHP or
that the content type and/or handler for .php files is not being set
properly.
One other thing to check on is whether the PHP code is actually executing.
Try putting some error_logs or writing to a file or anything that you can
verify outside of a browser. If these things happen, then it is a problem of
Apache not knowing how to serve the file, not whether it should be executed
or not.
Try these things first, then let us know of anything you find. I can almost
guarantee that it is an Apache configuration issue.
_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org/Show-Participation
_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org/Show-Participation
_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org/Show-Participation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20091204/57c035f6/attachment.html>
More information about the talk
mailing list