RE: [PHP] phpinfo displays blank page
| From: | Warren Vail | Date: | Wed, 20 Jun 2007 17:37:27 +0000 |
| Subject: | RE: [PHP] phpinfo displays blank page | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257513@lists.php.net to get a copy of this message | ||
For what it's worth, this can happen if you have a error in your PHP script.
Say like invoking a non-existing function php_info(); instead of phpinfo();
with errors and warnings going to a log file or something like that.
Warren Vail
-----Original Message-----
From: Jeff Schwartz [mailto:jeff_schwartz@yahoo.com]
Sent: Wednesday, June 20, 2007 10:00 AM
To: PHP List
Cc: Jochem Maas; Daniel Brown
Subject: Re: [PHP] phpinfo displays blank page
Thanks for getting back to me so quickly.
I checked the archives and viewed the source before I posted the problem.
The source is empty except for the junk IE puts into it. Is there a specific
log or error file I should check?
I upgraded from 4.x. I also ran "php phpinfo.php" (phpinfo.php is a script
containing only the phpinfo command) at a server prompt but nothing was
displayed.
Jochem Maas <jochem@iamjochem.com> wrote:
Daniel Brown wrote:
> On 6/20/07, Jeff Schwartz wrote:
>> When I run phpinfo() nothing is displayed. It used to work. I recently
>> upgraded to 5.2.1 but I can't be sure that's exactly when phpinfo
>> stopped working. Has anyone else run into this?
lots of people :-)
what did you upgrade from?
do what Dan said - only I'd run through his points in the following order
2,3,1
you may have php setup to log elsewhere than the apache error log - if so
check there also.
lastly I sometimes find it useful to try running the cmdline version php -
sometimes
I screw things up and the cmdline is helpful in that it [sometimes]
spits out a bunch of errors (usually related to extensions that could not be
loaded)
>>
>> Thanks,
>> Jeff
>>
>>
>> ---------------------------------
>> Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user
>> panel and lay it on us.
>
> 1.) Search the archives.
> 2.) Try to view the source of the page. If you see the PHP
> source, it's not working properly.
> 3.) Check the Apache error logs.
>
> See what you come up with after trying all three of the above and
> post your results. It'll give everyone here a better idea of what
> your particular problem may be.
>
---------------------------------
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on,
when.