You are here: Re: Totally lost ALREADY Please help me ! « PHP Language « IT news, forums, messages
Re: Totally lost ALREADY Please help me !

Posted by Kimmo Laine on 12/21/05 07:03

<gjdagis@hvc.rr.com> kirjoitti
viestissδ:1135136100.746320.219580@z14g2000cwz.googlegroups.com...
> This is my first day trying to learn PHP and ALREADY I'm stumped. I
> bought the SAMS Guide toPHP. MySQL, and Apache Book. On page 18 it
> tells me to create a file called phpinfo.php. HOW do I create a PGP
> file ? I have Word etc but programs like this create TEXT files etc. ,
> DON'T THEY? I created it anyway and did as told. Was this OK ?
>
> The file looks like this
> <?php
> phpinfo();
> ?>
> and was created in WORD saved as phpinfo.pgp
>
> Secondly: On the same page (after creating the above and putting it
> into C:/Apache/Apache2/htdocs as told) it says to point the web browser
> to http://localhost/phpinfo.php and I should see the PHP information
> page. All my browser does is hang up while searching for the page. What
> the heck am I doing wrong ALREADY ! Geez this is HORRIBLE. Please help.


Php files (not pgp) are simply text files that have the extension ".php", so
you can easily work even with notepad. In fact I'd strongly recommend you to
use that instead of Word, but it's up to you.

The true problem may exist somewhere else in your localhost configuration.
Firstly Apache should display a test page if you go to http://localhost/ to
confirm that Apache is able to display any pages at all. Once you've made
sure the apache test page appears, you can start looking for the problem
from php configuration, but for now just make sure Apache can serve plain
html pages so the problem isn't there.

Cheers

--
SETI @ Home - Donate your cpu's idle time to science.
Further reading at <http://setiweb.ssl.berkeley.edu/>
Kimmo Laine <antaatulla.sikanautaa@gmail.com.NOSPAM.invalid>

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация