Be a Supporter!

testing php on my computer

  • 489 Views
  • 10 Replies
New Topic Respond to this Topic
thecoshman
thecoshman
  • Member since: Jun. 11, 2006
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
testing php on my computer 2006-07-23 08:22:28 Reply

Can some one give some simple instructions for being able to use php on my own computer. i no php is server side code, but I dont want to have to go make a fully fledge web site, just to test a few bits and bobs.

Bizarro
Bizarro
  • Member since: Dec. 6, 2002
  • Offline.
Forum Stats
Member
Level 22
Blank Slate
Response to testing php on my computer 2006-07-23 08:44:11 Reply

http://www.apachefriends.org/en/xampp.html

xammp, its pretty simple and easy to install and use


BBS Signature
thecoshman
thecoshman
  • Member since: Jun. 11, 2006
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
Response to testing php on my computer 2006-07-23 08:47:43 Reply

just so i no befor i do install this, tihs is basicaly making like a server on my pc, but obviuesly im not alowing acces to and from the internet. but i will stillbe able to run php code and so forth.

one other tihng, mysql is that language, or a database program or both? if it is a database program, how difrent to access is it, worth learning it?

CyberLemming
CyberLemming
  • Member since: Aug. 9, 2005
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Response to testing php on my computer 2006-07-23 09:08:54 Reply

At 7/23/06 08:47 AM, thecoshman wrote: just so i no befor i do install this, tihs is basicaly making like a server on my pc, but obviuesly im not alowing acces to and from the internet. but i will stillbe able to run php code and so forth.

one other tihng, mysql is that language, or a database program or both? if it is a database program, how difrent to access is it, worth learning it?

type properly you retard.
mysql is a database server. you command it using SQL.
apache requires internet access, but you can tell it only to listen for localhost connections using the listen config variable.

Pilot-Doofy
Pilot-Doofy
  • Member since: Sep. 13, 2003
  • Offline.
Forum Stats
Member
Level 37
Musician
Response to testing php on my computer 2006-07-23 13:26:16 Reply

At 7/23/06 08:44 AM, Bizarro wrote: http://www.apachefriends.org/en/xampp.html

xammp, its pretty simple and easy to install and use

I've used xammp and I find it to be really impressive. I used it for nearly a year since EasyPHP has yet to update their software with PHP5 and updating it manually isn't worth the trouble when there are plenty of other providers out there.

Out of preference, though, I use Wamp Server which is "turned off" from the internet as default but is VERY EASILY setup to be web accessible.

I also like that they have an SQLite Manager. However, xammp's Apache version is a bit newer at the moment.

Tigiot
Tigiot
  • Member since: Jul. 22, 2006
  • Offline.
Forum Stats
Member
Level 03
Blank Slate
Response to testing php on my computer 2006-07-23 17:35:05 Reply

In addition, if you ever plan on hosting something from your computer to be accessible from the web you will most likely have to call your ISP and ask if they will open port 80 for you since most ISP's prevent that.

JeremysFilms
JeremysFilms
  • Member since: Feb. 18, 2005
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to testing php on my computer 2006-07-23 18:34:39 Reply

http://www.zend.com/products/zend_studio

I love this program.

DFox
DFox
  • Member since: Aug. 9, 2003
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to testing php on my computer 2006-07-23 19:00:29 Reply

At 7/23/06 06:34 PM, JeremysFilms wrote: http://www.zend.com/products/zend_studio

I love this program.

Yeah, it's a great program. It comes with it's own PHP engine which allows you to test PHP scripts right in the program, and it quickly shows you the output.

It also has by FAR the best PHP syntax highlighter, and outstanding automatic code indentation. You can also fold up functions.


BBS Signature
Tigiot
Tigiot
  • Member since: Jul. 22, 2006
  • Offline.
Forum Stats
Member
Level 03
Blank Slate
Response to testing php on my computer 2006-07-23 20:38:04 Reply

At 7/23/06 06:08 PM, Plakat wrote: You can't just ask them. You need to get a certain plan from your ISP allowing incomming connections to port 80.

To top that off. You can't have a server in your room with a residential connection, sorry.

I have some contacts who have had their port 80 opened for small things, nothing like a high grade website.

Even if you were to have it opened up for high scall web site on your residential connection you would fastly reach your cap limit and be reduced to 12kb/s

liljim
liljim
  • Member since: Dec. 16, 1999
  • Offline.
Forum Stats
Staff
Level 28
Blank Slate
Response to testing php on my computer 2006-07-23 21:02:46 Reply

At 7/23/06 09:08 AM, CyberLemming wrote: type properly you retard.
mysql is a database server. you command it using SQL.
apache requires internet access, but you can tell it only to listen for localhost connections using the listen config variable.

Apache running on your own computer doesn't require "internet access" - if you don't point a domain to your own IP address (amongst other things), you can have a closed testing environment. Stop with the insults, they're not welcome.

thecoshman
thecoshman
  • Member since: Jun. 11, 2006
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
Response to testing php on my computer 2006-07-24 06:33:15 Reply

ok, can some one help with the xampp thing. I got it installed (though it dont seem to actually install, just copy files over?) and i think i have got it runing, it says appache is runing any hoops. but i still cant get it to run php files, im using firefox, and when ever i try to open the page, it just wants to download it for me.
do i need to configure it to enable php or somthing?