Re: Re: Parsing a PHP file - Newbie alert
| From: | The Disguised Jedi | Date: | Wed, 16 Feb 2005 02:41:01 +0000 |
| Subject: | Re: Re: Parsing a PHP file - Newbie alert | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25589@lists.php.net to get a copy of this message | ||
i could be wrong (been a while since I looked up phpinfo function) but
i do believe you must do
echo phpinfo();
Please feel free to correct me...
On Tue, 15 Feb 2005 19:20:52 -0500, Jason Barnett
<jason.barnett@telesuite.com> wrote:
> Andrew Hargreaves wrote:
> > First post here so go easy on me please as I have looked in as many
> > places as possible before resorting to this.
> >
> > I have installed MySQL, Apache 2.0.52 and PHP 4.3.10 on my XP Pro PC
> > and have read through the installation docs etc to update httpd.conf
> > as instructed.
>
> You're already ahead of the curve. :)
>
> >
> > When I tried to run my first PHP file to show the PHP Info (<?php
> > phpinfo(); ?>) the browser, Firefox 1.0 did nothing.
>
> Assuming index.php is in the docroot and it contains the phpinfo() call:
>
> Is this a local server and is the server actually running? Try browsing
> to http://localhost/index.php if this is the case.
>
> If this is a live server on the web then try browsing to
> http://your.ip.address.here/index.php for the server. If that
> works
> then try browsing to http://your.domain.com/index.php
>
> Let us know the results of trying to browse to these web pages. If they
> don't work (i.e. you don't see PHP's info screen) then tell us as best
> you can what happened.
>
> >
> > I have placed the file in the htdocs folder as instructed. When I ran
> > php -i from the command line, I got a html doc as I should have done,
> > but still nothing in Firefox or IE6.
>
> If PHP -i works then it's usually a server issue... try the first steps
> listed above and report back to us. At ease, soldier. ;)
>
> >
> > Is there anythign else I should be trying to do or I can look at to
> > try and resolve this?
> >
> > Many thanks
> >
> > Andrew H
>
> --
> Teach a man to fish...
>
> NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
> STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
> STFM | http://www.php.net/manual/en/index.php
> STFW | http://www.google.com/search?q=php
> LAZY |
>
> http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
>
>
>
--
The Disguised Jedi
disguised.jedi@gmail.com
Now you have my $0.02. Or .01 Pounds, .014 Euros, or $0.025 CAN. I'm
already internationally compatible!
PHP rocks!
"Knowledge is Power. Power Corrupts. Go to school, become evil"
Disclaimer: Any disclaimer attached to this message may be ignored.
This message is Certified Virus Free