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

Your name:

Reply:


Posted by Peter Fox on 10/03/96 11:39

Following on from Denebola's message. . .
>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.


1. Get plain html pages to show (The server will define a root directory
- you need to read those docs - Will take at least half an hour.)
*While doing this the server docs should tell you how to get it to start
and execute the php interpreter when it encounters a .php file request.*

2. Write helloworld.php and put it in same dir as a working html page
<?php print("Hello world"); ?>

3. Put http://localhost/helloworld.php (etc) into your browser and
Bob's your uncle.

The snag is with starred bit in step 1. I've never heard of Abyss - If
you can (and there may be good reasons why you can't) use Apache.

--
PETER FOX Not the same since the poster business went to the wall
peterfox@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>

[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

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