do you have other php files that produce html output still working (after the upgrade)? if not, there is probly something wrong w/ the new php installation. is this the same phpinfo script you were using before the upgrade? if not there may be a problem w/ the phpinfo script. -nathan On 6/20/07, Daniel Brown <parasane@xxxxxxxxx> wrote:
On 6/20/07, Tijnema <tijnema@xxxxxxxxx> wrote: > On 6/20/07, Jeff Schwartz <jeff_schwartz@xxxxxxxxx> 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@xxxxxxxxxxxxx> 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. > Or go back even further and see if the problem lies before the code is even interpreted, via the CLI: `php -i` -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php