Re: phpinfo displays blank page
| From: | Daniel Brown | Date: | Wed, 20 Jun 2007 18:17:36 +0000 |
| Subject: | Re: phpinfo displays blank page | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257515@lists.php.net to get a copy of this message | ||
On 6/20/07, Tijnema <tijnema@gmail.com> wrote:
On 6/20/07, Jeff Schwartz <jeff_schwartz@yahoo.com> wrote: 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. What happens if you run this on the command line: php -r "phpinfo();" That should work :) Tijnema Jochem Maas <jochem@iamjochem.com> wrote: Daniel Brown wrote:Or go back even further and see if the problem lies before the code is even interpreted, via the CLI:On 6/20/07, Jeff Schwartz wrote: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)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?--------------------------------- Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when.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.Thanks, Jeff --------------------------------- Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.
php -i
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107