Re: PHP not running properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2009-07-13 at 15:50 -0300, Jonathan Tapicer wrote:
> 2. Try <?php phpinfo(); ?>
> 
> On Mon, Jul 13, 2009 at 3:47 PM, Togrul
> Mamedbekov<togrul.mamedbekov@xxxxxxxx> wrote:
> > We are running, Windows Server 2003.
> >
> > 1. Changed that
> > 2. <?phpinfo();?>
> >
> > Togrul Mamedbekov
> > Marketing & Publishing Assistant
> > (Tel: +1-(713)-292-1945 / Fax: +1-(713)-292-1946
> > http://www.iadc.org <http://www.iadc.org/>
> >
> >
> >  _____
> >
> > From: Zareef Ahmed [mailto:zareef.ahmed@xxxxxxxxx]
> > Sent: Friday, July 10, 2009 19:38
> > To: Bastien Koert
> > Cc: Daniel Brown; Togrul Mamedbekov; php-general@xxxxxxxxxxxxx
> > Subject: Re:  PHP not running properly
> >
> >
> > A quick checklist/todo list :
> >
> > 1. set display_errors=yes in php.ini
> > 2. Make sure you are using full <?php tag to write your script.
> >
> > For a good solutions you should also mentions about your OS/Web Server
> >
> > Zareef Ahmed
> >
> >
> > On Sat, Jul 11, 2009 at 1:53 AM, Bastien Koert <phpster@xxxxxxxxx> wrote:
> >
> >
> > On Fri, Jul 10, 2009 at 4:17 PM, Daniel Brown<danbrown@xxxxxxx> wrote:
> >> On Fri, Jul 10, 2009 at 15:44, Togrul
> >> Mamedbekov<togrul.mamedbekov@xxxxxxxx> wrote:
> >>> Hello Sir or Madam,
> >>>
> >>> We just updated our PHP 5.2 software. And when I try to run the php info
> >>> script! I get a blank screen!
> >>
> >>    What do you see when you view the source of the page with phpinfo() ?
> >>
> >> --
> >> </Daniel P. Brown>
> >> daniel.brown@xxxxxxxxxxxx || danbrown@xxxxxxx
> >> http://www.parasane.net/ || http://www.pilotpig.net/
> >> Check out our great hosting and dedicated server deals at
> >> http://twitter.com/pilotpig
> >>
> >> --
> >> PHP General Mailing List (http://www.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >>
> >
> >
> > Your error handling is logging the errors, not displaying them to the
> > screen. Check the php ini file settings for that.
> >
> > --
> >
> > Bastien
> >
> > Cat, the other other white meat
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
> >
> >
> >
> > --
> > Zareef Ahmed :: A PHP Developer in India ( Delhi )
> > Homepage :: http://www.zareef.net
> >
> >
> 
I was just about to say, there is your problem. Although your php.ini
may be set up to allow short tags, it will not complain if the full
start tag <?php is there either. As you had no space between <? and the
phpinfo(); the web server was matching the full tag, and then hitting an
error as you'd left no whitespace after it.

Just an aside, it's recommended you turn off short tags inside of your
php.ini if you want to do anything with XML files inside of your PHP
scripts.

Thanks
Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux