News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

PHP Lesson 01 - installing a server

Started by Parham, August 25, 2003, 03:50:41 PM

Previous topic - Next topic

Ardenn

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

[Unknown]

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]

Parham

Quote from: Ardenn 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


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:


$cfgPmaAbsoluteUri = 'http://127.0.0.1/mysql/';


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


Homie


foxy

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

Snuffy

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?!?!?

[Unknown]


Homie

ya i can now run a Server with mysql and PHP Installed using Apache becasue i read that tutorial its very easy  :)

Snuffy

Quote from: [Unknown] 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]

Thanks [Unknown]  we is a checking it out right now!    :)

Daniel D.

Quote from: Homie 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  :)
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.

Homie

Ya [Unknown] can you make a tutorial that teaches people PHP if they dont know that language  :)

Daniel D.

Quote from: Homie 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  :)
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...

Crush

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!


unrelenting

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?

[Unknown]

By default, they are "root" and "". (no password..)

-[Unknown]

unrelenting


HoTmetal

#37
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



voldemort

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

[Unknown]

Open Notepad, paste the code in there, and save it as "phpinfo.php" (with the quotes.)

-[Unknown]

Advertisement: