Advertisement:

Author Topic: PHP Lesson 01 - installing a server  (Read 140275 times)

Offline Ardenn

  • Jr. Member
  • **
  • Posts: 108
  • Gender: Male
  • Im a PHP newb
    • Twinwand D&D Forums
Re: PHP Lesson 1 - installing a server
« Reply #20 on: December 08, 2003, 02:06:51 PM »
Yes I did, and my browser returned the error: PAGE COULD NOT BE DISPLAYED.

In fact, I actually tried both http://localhost/mysql/ AND http:/127.1.1.1/mysql/  although since 127.1.1.1 is the loopback address for the NIC card, there would be absolutly ZERO difference between them
Ardenn // Traxxus
http://www.twinwand.com
D&D Play by Post Community Looking for Players and DM's

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: PHP Lesson 1 - installing a server
« Reply #21 on: December 08, 2003, 02:17:23 PM »
Well, sometimes localhost isn't set to go to 127.0.0.1, esp. if you've messed with your hosts file on 9x.

I would assume Easy PHP would set up a virtual path to it, but... whatever.  I don't like packages anyway :P.

-[Unknown]

Offline Parham

  • SMF Friend
  • Sophist Member
  • *
  • Posts: 1,317
  • Gender: Male
  • #!/usr/bin/perl
    • Online Node
Re: PHP Lesson 1 - installing a server
« Reply #22 on: December 08, 2003, 03:35:09 PM »
Yes I did, and my browser returned the error: PAGE COULD NOT BE DISPLAYED.

In fact, I actually tried both http://localhost/mysql/ AND http:/127.1.1.1/mysql/  although since 127.1.1.1 is the loopback address for the NIC card, there would be absolutly ZERO difference between them


Not http://127.1.1.1/mysql/, instead 127.0.0.1/mysql/ (I don't think it works with localhost either) <-- this is the URL set to work in the phpmyadmin configuration file.  If you've stuck to the regular directories, go to "C:\Program Files\EasyPHP\phpmyadmin" and open up "config.inc.php".  Scroll down to line 36 which has the following php code:

Code: [Select]
$cfgPmaAbsoluteUri = 'http://127.0.0.1/mysql/';

THAT'S the URL you type in to get to phpmyadmin.

Offline Tim

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,857
  • Gender: Male
  • Marketing Consultant
    • tim.ceuppens on Facebook
    • http://www.linkedin.com/in/timceuppens on LinkedIn
    • @timcbe on Twitter
    • Tim Ceuppens

Offline Homie

  • Jr. Member
  • **
  • Posts: 127
  • Gender: Male
  • I Love SMF 1.0 Beta 5
    • Homies Community
Re: PHP Lesson 01 - installing a server
« Reply #24 on: March 31, 2004, 09:19:10 AM »
WOW good Tutorial Actually   :)

Offline foxy

  • Semi-Newbie
  • *
  • Posts: 28
Re: PHP Lesson 01 - installing a server
« Reply #25 on: April 07, 2004, 04:33:39 AM »
Thanks Parham the server makes it so simple to test out forums etc before uploading so if anyone wants to try mods etc it is brill. ;D

Offline Snuffy

  • Jr. Member
  • **
  • Posts: 122
  • Gender: Male
  • WORK, is for those that don't know how to Fish!
Re: PHP Lesson 01 - installing a server
« Reply #26 on: April 10, 2004, 08:39:13 AM »
I D/L'd last week the version 6 of this EasyPHP and just found the newer virsion when i came back  to read some more here.

Any suggestions on if this will just install over the V-6 with no problems or not?

Or do you suggest to uninstall v6 befor installing v7 onto it?!?!?
tufanuf@harbornet.com

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: PHP Lesson 01 - installing a server
« Reply #27 on: April 10, 2004, 10:16:34 AM »
My suggestion is...

http://unknown.network32.net/tutorial.basic-server

I just don't trust pre-built packages.

-[Unknown]

Offline Homie

  • Jr. Member
  • **
  • Posts: 127
  • Gender: Male
  • I Love SMF 1.0 Beta 5
    • Homies Community
Re: PHP Lesson 01 - installing a server
« Reply #28 on: April 10, 2004, 10:18:19 AM »
ya i can now run a Server with mysql and PHP Installed using Apache becasue i read that tutorial its very easy  :)

Offline Snuffy

  • Jr. Member
  • **
  • Posts: 122
  • Gender: Male
  • WORK, is for those that don't know how to Fish!
Re: PHP Lesson 01 - installing a server
« Reply #29 on: April 10, 2004, 10:25:04 AM »
My suggestion is...

http://unknown.network32.net/tutorial.basic-server

I just don't trust pre-built packages.

-[Unknown]

Thanks [Unknown]  we is a checking it out right now!    :)
tufanuf@harbornet.com

Offline Daniel D.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,426
  • Gender: Male
Re: PHP Lesson 01 - installing a server
« Reply #30 on: April 10, 2004, 10:25:49 AM »
ya i can now run a Server with mysql and PHP Installed using Apache becasue i read that tutorial its very easy  :)
Yeah, that's a good idea. I normally do something and read the tutorial after that ! I always wonder why it doesn't work before. Hmm, I should try again with your idea - thx.

Offline Homie

  • Jr. Member
  • **
  • Posts: 127
  • Gender: Male
  • I Love SMF 1.0 Beta 5
    • Homies Community
Re: PHP Lesson 01 - installing a server
« Reply #31 on: April 10, 2004, 10:30:22 AM »
Ya [Unknown] can you make a tutorial that teaches people PHP if they dont know that language  :)

Offline Daniel D.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,426
  • Gender: Male
Re: PHP Lesson 01 - installing a server
« Reply #32 on: April 10, 2004, 11:15:04 AM »
Ya [Unknown] can you make a tutorial that teaches people PHP if they dont know that language  :)
I can speak german and english.

If you read the PHP tutorials here, you can some things with PHP. I thought you read them all ?!? If not, go through them first...

Offline Crush

  • Semi-Newbie
  • *
  • Posts: 14
Re: PHP Lesson 01 - installing a server
« Reply #33 on: May 08, 2004, 10:59:52 AM »
Very good lesson 1 !
I got through the set up for me the EasyPHP installation went great!
It took me a few minutes to realize I had to set up SMF  to the www folder in EasyPHP!
created a floder called forum with in the www folder.
Once that was done the set up of SMF to my localhost went great!
I then installed several Themes created by the Guru's here, Thanks everyone for sharing the themes!!

Now I will move on to the next lesson and play with the Themes in SMF!!

Good Job with the tutorials!


Offline unrelenting

  • Full Member
  • ***
  • Posts: 526
Re: PHP Lesson 01 - installing a server
« Reply #34 on: August 29, 2004, 09:49:18 PM »
I have installed everything correctly (the EasyPHP server) and tested the 127.0.0.1 links. When I try to install the SMF software it needs a username and password for mySQL. Where do I set this or what do I need to enter to run the install.php?

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: PHP Lesson 01 - installing a server
« Reply #35 on: August 29, 2004, 09:59:44 PM »
By default, they are "root" and "". (no password..)

-[Unknown]

Offline unrelenting

  • Full Member
  • ***
  • Posts: 526
Re: PHP Lesson 01 - installing a server
« Reply #36 on: August 29, 2004, 10:06:47 PM »
By default, they are "root" and "". (no password..)

-[Unknown]

Thanks.

Offline HoTmetal

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,950
Re: PHP Lesson 01 - installing a server
« Reply #37 on: December 13, 2004, 03:29:16 PM »
If you just want to run a test server/home server on your windows machine this is an EASY way to do it.

You could use it as a "REAL" server, but who would run a real server on windows??

http://www.bigapache.org/

it installs PHP/perl/ASP/mysql all the good stuff. I wouldn't use it as a real server, but I have it on my laptop for testing out things. let me know what cha think


« Last Edit: December 14, 2004, 12:06:11 AM by rickc »

Offline voldemort

  • Newbie
  • *
  • Posts: 5
Re: PHP Lesson 01 - installing a server
« Reply #38 on: January 21, 2005, 06:41:24 PM »
OK this isnt working for me because i dont get it. that code we had to save in that file (sorry about the vagueness) how do i do it because i dunno. i know this is vague but i dont have a clue about php thats why i'm trying to learn lol

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: PHP Lesson 01 - installing a server
« Reply #39 on: January 22, 2005, 05:52:50 AM »
Open Notepad, paste the code in there, and save it as "phpinfo.php" (with the quotes.)

-[Unknown]