Reply to Re: How can I experiment with php on my pc?

Your name:

Reply:


Posted by Dikkie Dik on 02/11/06 17:39

What I have done:
- I first installed the webserver (personal webser that came with win98
in my xase)
- then installed PHP. the installer asked for a webserver, so I pointed
it to the one I had installed (was not reconised, but it is a version of
IIS, and pointing to IIS did the trick).
- Now the webserver can run .php files.

I have found a few Abysses, but this might be useful for you:
http://www.aprelium.com/abyssws/php.html

Where do you put the files?
That depends on the webserver. You probably have a webroot somewhere in
yoursystem. You can eiter make subdirectories under that webroot or add
a stie to your webserver.
Your webserver probaly has some managing option where you can add a site
or virtual directory. When you add a site, you have to give both the
virtual directory (http://localhost/yournewvirtualdirectory) and the
real directory (C:\your\real\directory\) that contains the files.

For a first test, just put the simple "hello world" example from PHP in
your webroot and see if that runs. If it doesn't, your webserver
probably does not know what to do with the .php extension.


Denebola wrote:
> I want to be able to play around with some php scripting on my pc
> without paying a company to host a domain.
>
> I have downloaded php onto my pc, at least I think I have, a folder
> called php has appeared on my C: drive, and I have downloaded and
> installed the Abyss web server and that appears to be working. I also
> have HTML Kit as my html editor.
>
> How do I get simple php scripts to work properly on my pc though? Where
> do I save the files?
>
> I know this may sound so simplistic to some, but I'm getting a real
> headache reading the php manual, frankly I don't understand half of it.
>
> Regards
>

[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

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