|
Posted by Peter Fox on 10/10/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>
Navigation:
[Reply to this message]
|