Installing PHP

>>Just curious

Page 1 of 1

10 Replies - 1725 Views - Last Post: 17 March 2002 - 04:49 PM Rate Topic: -----

#1 codeman  Icon User is offline

  • w3c fanatic

Reputation: 3
  • View blog
  • Posts: 1,190
  • Joined: 13-August 01

Installing PHP

Posted 23 September 2001 - 12:31 PM

Just wondering, how do you, if possible, install PHP onto your computer.  Like if you want to test PHP scripts but you don't have a host or server.  Please Respond! :)
Is This A Good Question/Topic? 0
  • +

Replies To: Installing PHP

#2 Mark  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 93
  • Joined: 06-August 01

Re: Installing PHP

Posted 23 September 2001 - 01:22 PM

you need a server first.
Was This Post Helpful? 0
  • +
  • -

#3 LeprechauN  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 2
  • View blog
  • Posts: 857
  • Joined: 12-March 01

Re: Installing PHP

Posted 25 September 2001 - 07:55 AM

#1, what OS are you running, then I could help ya ;)
Was This Post Helpful? 0
  • +
  • -

#4 Mark  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 93
  • Joined: 06-August 01

Re: Installing PHP

Posted 25 September 2001 - 01:54 PM

well apache will run on anything -- so it's not very much of an issue as to what os :D
Was This Post Helpful? 0
  • +
  • -

#5 sw00zh  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 35
  • Joined: 13-August 01

Re: Installing PHP

Posted 26 September 2001 - 08:00 AM

just download PHP Triad, that's apache + php + MySQL

search for it at www.download.com
Only for windows..

Was This Post Helpful? 0
  • +
  • -

#6 tsmoke  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 50
  • Joined: 20-April 01

Re: Installing PHP

Posted 26 September 2001 - 05:17 PM

You can find all the info that you need to install PHP at the PHP web site. You do not need to have a server running to test your PHP scripts though. Instead you would just add the following as the first line of your code.
#! /usr/local/bin/php//Or path_to_php binary
//rest of code here

Note that I have given the *nix example of how to write your PHP file. Also, you should know that your output will be in text format only, not as a web page.

Was This Post Helpful? 0
  • +
  • -

#7 Null and Void  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 204
  • Joined: 29-April 01

Re: Installing PHP

Posted 26 September 2001 - 05:57 PM

Doing what tsmoke said, he could always redirect the php, then view it using a browser. For example: "whatever.php > output.html"
Was This Post Helpful? 0
  • +
  • -

#8 flutlichtjunky  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 09-October 01

Re: Installing PHP

Posted 06 November 2001 - 06:21 AM

i asked this question on another board and i was told you can test some serverside scripts by installing pws (personal web server) on you pc if you have 95/98/2000?/nt. It comes free with the installation disk. Then you download the php extension from microsoft. Then i think like tsmoke said you include something like localhost somewhere ?? (its on the microsoft site). You can also run and test asp with access if you want

http://www.webwizgui...g_pws_win98.asp
http://www.umesd.k12...n32install.html

Hope this helps. Im not an expert at all but i asked a similar question before.

Was This Post Helpful? 0
  • +
  • -

#9 Sem  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 199
  • Joined: 10-February 02

Re: Installing PHP

Posted 17 March 2002 - 04:36 PM

I'd go for FoxServ. Like triad, it installs Apache/PHP/mySQL, but it also, throws in phpMyAdmin and ZendOptimizer, and is much friendlier for newbies to config their setup.

Check it out here

Was This Post Helpful? 0
  • +
  • -

#10 The Neoracle  Icon User is offline

  • Check, check, 1, 2.
  • member icon

Reputation: 21
  • View blog
  • Posts: 4,097
  • Joined: 30-March 01

Re: Installing PHP

Posted 17 March 2002 - 04:46 PM

^^ Yup.
Was This Post Helpful? 0
  • +
  • -

#11 supersloth  Icon User is offline

  • serial frotteur - RUDEST MEMBER ON D.I.C.
  • member icon


Reputation: 4496
  • View blog
  • Posts: 28,404
  • Joined: 21-March 01

Re: Installing PHP

Posted 17 March 2002 - 04:49 PM

if we had that im with genius emoticon, i would use it right now. ;)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1