Forum Moderators: coopster

Message Too Old, No Replies

How to PHP

im new on this

         

Gero_Master

2:49 pm on Jan 28, 2005 (gmt 0)

10+ Year Member



I want to change my site to PHP, so i can upload new games and webtemplates faayaast and immediately.

However i cat do PHP, cause no PHP server. Can PHP be written and wieved on my own laptop by installing some software or doeas it need the hard server stuff

RonPK

2:58 pm on Jan 28, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You'll at least need to install PHP and a web server. There are many packages out there that will do the job for you: I hear xampp is pretty good, and available for different operating systems.

Gero_Master

3:03 pm on Jan 28, 2005 (gmt 0)

10+ Year Member



With that i could run php on my laptop? :)

mcibor

3:07 pm on Jan 28, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes. You would use php on localhost. However I don't see the reason to upload the files. You can easily upload the files to the server with php - in this example your laptop.

Russ49Checkmate

6:46 pm on Jan 28, 2005 (gmt 0)

10+ Year Member



Question #1: Do you have Apache or equivalent installed on your laptop. Apache is server software, something you may need to download and install yourself (except Macs, Apache is preinstalled with OSX).

Question #2: Do you also want MySQL? Some might say installing PHP is futile without MySQL.

All three are software, download and install.
<http://www.php.net> has links to the Apache and MySQL home pages.

I recommend to the very highest degree that you also download a good web browser (meaning anything except IE). Remember that PHP primary function is to dynamically create HTML. There are tons and tons of other functions, but PHP in it's basic form just creates HTML.

If $user = boy, then bgcolor = "blue"
Else If $user = girl, then bgcolor = "pink"
Else bgcolor = "light pale aquamarine with a little shading towards a navy blue"

Gero_Master

7:31 am on Feb 12, 2005 (gmt 0)

10+ Year Member



Answer 1: I dont have Apache

Answer 2: Yeas, i want to instal MySQL

-----------------

Why do i need to upload files? If my laptop, wich im gonna use to make PHP, Have the files i use in my websites. Cant i just run my sites on it.

chunk_split

10:48 am on Feb 12, 2005 (gmt 0)

10+ Year Member



Appserv is the best Apache, PHP, MySQL installer I have used on Win9x

[sourceforge.net ]

mincklerstraat

11:43 am on Feb 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



RonPK has already mentioned XAMPP, available at [apachefriends.org...] , which has gotten very good marks here at webmasterworld. I've installed it and found it very easy to install, I think for most newbies it would be no problem. Copy it to your root directory and unpack it there if you get the .zip package. After installing (the instructions probably say this), just click on the 'start xampp' icon in the xampp folder, open a browser and type 'http://localhost/'. This will show you the files on your own shiny new server. Probably the best toy you'll ever get yourself. Then get an editor with php highlighting like jedit.