NYCPHP Meetup

NYPHP.org

[nycphp-talk] Firefox 3.5.5 not rendering PHP

Néstor rotsen at gmail.com
Fri Dec 4 14:41:29 EST 2009


TOm,

This is the info for my header on my http://localhost, but I do not see any
troubles here.  Do you?
http://localhost/
GET / HTTP/1.1
Host: localhostå,ž
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5)
Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729) FirePHP/0.3å,ž
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8å,ž
Accept-Language: en-us,en;q=0.5å,ž
Accept-Encoding: gzip,deflateå,ž
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7å,ž
Keep-Alive: 300å,ž
Connection: keep-aliveå,ž
HTTP/1.1 200 OK
Date: Fri, 04 Dec 2009 19:08:18 GMTå,ž
Server: Apache/2.2.11 (Win32) PHP/5.2.8å,ž
Last-Modified: Sat, 20 Nov 2004 22:16:24 GMTå,ž
Etag: "13000000077d49-2c-3e957f94afe00"å,ž
Accept-Ranges: byteså,ž
Content-Length: 44å,ž
Content-Type: text/htmlå,

I can not display anything for my phpinfo.php file because it wants to sabe
it.

Thanks,

Néstor :-)

On Fri, Dec 4, 2009 at 11:11 AM, Tom Sartain <tomsartain at gmail.com> wrote:

> Take a look at LiveHTTPHeaders add-on for Firefox (
> https://addons.mozilla.org/en-US/firefox/addon/3829 ) which should show
> you what you need to see.
>
> Of course, you could always hit up telnet or curl (or any other number of
> command line tools) to connect to the server and check out the responses.
>
> On Fri, Dec 4, 2009 at 2:06 PM, Néstor <rotsen at gmail.com> wrote:
>
>> 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
>>>
>>
>>
>> _______________________________________________
>> 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/4113c24b/attachment.html>


More information about the talk mailing list