
April 5th, 2003
09:45 PM

PHP setting up
hi guys, i'm new to this forum and new to php as well, coming from the graphic world, i know nothing about these MySQL, Apache, etc, but i am familiar with coding,
i made mirc scripts long ago, and is at a high level in it, thus PHP coding seems relatively similar, i can understand and code abit of php, i'm planning to advance my knowledge, but the problerm is, i don't understand all these server setting up things at all.
the book i have "PHP in 24 hours!" only have instructions for Linux(which i know nothing about), i'm using Windows 2000 (server edition), i checked php.net and they're using alot of terms i don't understand
so.. any quick guides from start to end?
current i have my first.php with
<?php
print "hello world";
?>
in it, thats all, i know its dumb but when i used internet explorer to open it, it didn't print "hello world" but the whole "<?php..?>"
so how do i make it execute the codes? sorry if this question have been asked and for being a noob, haven't been one for a long time 

April 5th, 2003
09:56 PM
Originally posted by rein
it didn't print "hello world" but the whole "<?php..?>"
This may be a redundant question, but do you have PHP installed on your server yet?
___________________
Everyone remain calm, I've done this before.

April 5th, 2003
10:05 PM
Neverside Newbie
Status: Offline!
ok first things first you may want to download a server + php +mysql in one package...
i use phpdev http://firepages.com.au/
and then all you do is save your php file in the www directory located were ever you installed it and you should be away!
___________________
Current status: Taken
Somethings Coming: 07/07/07
**stewis lubs Sarah
**

April 5th, 2003
10:26 PM
yah i don't have it installed, i didn't know you need to install it, i didn't get what those instructions were saying with those terms apache and such,
thanks alot stewis, i didn't know it was that simple, i haven't tried yet, which shld i download? shld i download the phpdev5 beta? any exact download links to the most common version? thanks alot

April 5th, 2003
10:44 PM
Neverside Newbie
Status: Offline!
i use the phpdev423 bundle
___________________
Current status: Taken
Somethings Coming: 07/07/07
**stewis lubs Sarah
**

April 6th, 2003
03:03 AM
Apache is the most widely used web server. It is available at http://httpd.apache.org
Both Apache and PHP are available as binaries (which means they're pre-compiled, you don't have to do anything but install them).

April 6th, 2003
12:15 PM
alright now everything seems to be working... but how do i make it execute the code on my webby? (www.amefuri.net/first.php)
seems like its getting an error, its registered thru domains.yahoo.com
Last edited by rein, April 6th, 2003 12:55 PM (Edited 1 times)

April 6th, 2003
06:09 PM
What operating system is your server using? It appears as though you didn't give enough privileges to the file. If on a *nix based server, chmod 755 the file.

April 6th, 2003
07:05 PM
right now... i'm a server dummy so i dunno abt these *nix and such..., but i know i'm using window 2000, and whenever i upload things i just open my ftp and go to ftp.amefuri.net and upload my index.html and such, then they're there, i hear the php is supposed to be on the server's side? the php codings from first.php are working when i open it in my computer through explorer, how do i install the php into the server so they'll work when i visit www.amefuri.net/first.php? thanks again ^^

April 6th, 2003
07:17 PM
Unless the server is completely yours, as in hardware and all, it's up to the host to put PHP on. Many charge more for it.