i want to practice PHP on my pc. how can i do that?

i want to practice PHP on my pc. how can i do that?

Page 1 of 1

7 Replies - 4314 Views - Last Post: 25 December 2010 - 10:30 PM

#1 promila.bhat  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 23-December 10

i want to practice PHP on my pc. how can i do that?

Posted 23 December 2010 - 09:39 PM

i want to practice PHP on my pc. how can i do that?
Is This A Good Question/Topic? 0
  • +

Replies To: i want to practice PHP on my pc. how can i do that?

#2 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2870
  • View blog
  • Posts: 11,025
  • Joined: 15-July 08

Re: i want to practice PHP on my pc. how can i do that?

Posted 23 December 2010 - 09:47 PM

Simply install a web server, PHP, and a MYSQL database. I like customizing mine, but for simple use, you can use WAMP or LAMP (depending on the OS), OR you can use XAMPP.
Was This Post Helpful? 1
  • +
  • -

#3 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2927
  • View blog
  • Posts: 10,114
  • Joined: 08-August 08

Re: i want to practice PHP on my pc. how can i do that?

Posted 23 December 2010 - 10:44 PM

For Macs, PHP is preinstalled, but you need to turn it on, and install MySQL or your favorite database. There is also MAMP, which is a separate version of Apache, MySQL and PHP.
Was This Post Helpful? 0
  • +
  • -

#4 promila.bhat  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 23-December 10

Re: i want to practice PHP on my pc. how can i do that?

Posted 24 December 2010 - 12:50 AM

i have xp in my pc. and i want to install php. pls help
Was This Post Helpful? 0
  • +
  • -

#5 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6058
  • View blog
  • Posts: 23,495
  • Joined: 23-August 08

Re: i want to practice PHP on my pc. how can i do that?

Posted 24 December 2010 - 05:23 AM

You've been given direct links in Dogstopper's post for Pete's sake. Follow them and do some work on your own!
Was This Post Helpful? 0
  • +
  • -

#6 emadgh  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 1
  • Joined: 24-December 10

Re: i want to practice PHP on my pc. how can i do that?

Posted 24 December 2010 - 05:27 AM

Use Wamp. Download it from wampserver.com. Install it and copy your php code to a folder in WWW Folder in WAMP installation folder.

This post has been edited by emadgh: 24 December 2010 - 05:29 AM

Was This Post Helpful? 2
  • +
  • -

#7 no2pencil  Icon User is online

  • Toubabo Koomi
  • member icon

Reputation: 5246
  • View blog
  • Posts: 27,062
  • Joined: 10-May 07

Re: i want to practice PHP on my pc. how can i do that?

Posted 24 December 2010 - 07:35 AM

This topic has nothing to do with PHP code... moving the correct sub forum : Web Servers & Hosting
Was This Post Helpful? 0
  • +
  • -

#8 RUFerret  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 58
  • Joined: 17-December 10

Re: i want to practice PHP on my pc. how can i do that?

Posted 25 December 2010 - 10:30 PM

I use WAMP for my code.

once you have the code saved in WWW directory, go to your favorite browser (make sure to set your default to your favorite upon installation) and type in localhost/filename.php. That will run your script, pending syntax errors.

Or right click on the WAMP icon where your sound level is displayed and click localhost and select from a list of your files.

Also click phpMyAdmin for database! Very fun stuffz
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1