Reply to Re: Web server using PHP.

Your name:

Reply:


Posted by ishtar on 09/18/05 18:08

ishtar wrote:
> All I want to do is setup my web server at home to use blog software. I
> downloaded a freeware program from sourceforge.net called simpleblog.
> All it says I need to do is install PHP which seems simple enough. I
> goto PHP's web site and install PHP but none of the file associations
> on my computer see PHP files as anything? The first step of using
> simpleblog is to simply double-click on index.php but even if I
> associate PHP's executable to the PHP extension it simply pops up a
> quick DOS window and then disappears and nothing happens.
>
>
> I would have simply thought if I installed PHP on my PC I could run PHP
> files. Admittedly I am a newbie at this so any help is appreciated.
>
>
> Thanks.

OMG!! It is working!!

I really want to thank everyone for the help. I have no clue why this
was so difficult but my confusion was stemmed from this. I would
consistently try different things and then go to http://localhost to
see if PHP was running properly and I would either get an error or a
view of the script listed in index.php. Just when I was about to
completely give up I decided to do the following:

1. uninstall everything
2. install PHP 4.0 (thinking that 5.0 might be an issue, just grabbing
for anything now).
3. install Abyss web server
4. update Abyss web server to reflect that PHP is available
5. Stop the service for IIS (thinking it may be conflicting with the
Abyss web server)
6. Point the web server to my PHP files

After all this I went to http://localhost and then refreshed the page a
number of times and the result was the same as before. Just a list of
script from index.php. Then for some reason I decided to go to
http://127.0.0.1. I thought this would yield the same result as
http://localhost but in this case it did not. The page was perfectly
displayed. In shock and in fear I would never see it again I went
ahead and played with the site and was pleased with its operation. The
strange thing is afterwards I went back to http://localhost and now it
pulls up the web page properly?

I don't have an explanation as to why but it appears I may have had
everything configured properly all along. The only problem was that I
was going to http://localhost and not http://127.0.0.1. Again, both
work the same now but I can't figure out why there was such a
discrepancy before.

Regardless, it is working now, and again, thanks for everyone's help.
I really do appreciate it.

[Back to original 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

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация