Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

45 users online



PHP setting up

PHP setting up

Currently viewing this thread: 1 (0 members and 1 guests)


Page 1 out of 2
rein

rein

Status: Offline!

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 Sad

Kriek

Kriek

Status: Offline!
Quote:

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.

stewis

stewis

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 Smile**

rein

rein

Status: Offline!

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

stewis

stewis

Neverside Newbie
Status: Offline!

i use the phpdev423 bundle

___________________

Current status: Taken
Somethings Coming: 07/07/07
**stewis lubs Sarah Smile**

Vector

Vector

Status: Offline!

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).

rein

rein

Status: Offline!

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)

Vector

Vector

Status: Offline!

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.

rein

rein

Status: Offline!

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 ^^

Vector

Vector

Status: Offline!

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.

Page 1 out of 2
Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0187 seconds.