IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

Setting up easyPHP on your local computer

, tutorial


noxit
no avatar
Newbie [Level 3]
***
Group: Members
Posts: 46
Joined: 19-June 04
Member No.: 31



Post #1 post Jun 20 2004, 02:06 PM
Someone was asking in the forums about downloading the PHP/mySQL and apache Server ..seperately...thst is a real headache ..Well.. today we'll learn how to install and run a program called EasyPHP. It is a combination of some common free web server software that put together into an easy to install package. Normally to download and install each separate component can take a long time, plus be a headache to configure them to work together properly. Please note that it's a French Software.
It includes:
1. MySQL Database System
2. Apache Web Server
3. PHP Programming Language
4. PHP MyAdmin Database Interface
That means you'll be able to run PHP or any other SQL DB driven PHP script after installing a single package straight away.

Downloading: Go to www.easyphp.org and download the package straight away

INSTALLING:
1. Run the 'EXE' file. This is the file you downloaded from the web site. An alart box will apear, click "yes" to continue.

2.Welcome Screen will appear. Click Next.

3. Accept the License Agreement.

4. After going thru the Warning Screen, select the install directory. I'd recommend you guys not to use the default path that install the program in the Program Files. Use a shorter path like C:\EasyPHP, I tell you you it will help ya in future.

5.Confirm the settings and click INSTALL

6. After finishing the main installation, it will show you some extra informations. Click NEXT to continue.

10. The final screen will ask if you would like to launch the welcome html page and also launch the program. Leave 'ouvrir la page d'accueil' checked if you would like to view the welcome page. Note that this page is in French. Click FINISH.

RUNNING:
1. Find the EasyPHP folder and there click on the EasyPHP icon to run the package.

2. You'll see say "E with a dot" type of icon in the system tray if the program starts. Check if the red dot is blinking in the system tray, that ensures that the package is running without any error.

TESTING:
1. Launch any internet browser and type HTTP://LOCALHOST in the address bar, please note that the local IP will also work in this case instead of LOCALHOST. Press ENTER. You'll se the EasyPHP welcome Screen if everything is ok.

CONFIGURING APACHE:
You'll have to edit the Apache Configuration File to point your webserver as well as the package to the right dir/index.html file so that whenever you or a visitor types your IP in his/your address bar, the right page appears.

1.To configure the Apache File please go thru C:\EasyPHP\apache\conf\ and open the HTTP.CONF file. Find the "DocumentRoot "C:/EasyPHP/www" and the <Directory "C:/EasyPHP/www"> lines and replace the path. For example, if you have your index.html file in the folder "Web" on the drive D:, replace those lines with "DocumentRoot "D:/Web" and "<Directory D:/Web">.

2. Restart EasyPHP. Open your browser and type http://localhost or http://yourIP to check if the new setting is working

3. If you see the setting's working, start implenting PHP and MySQL scripts right away. And for the MySQL admin as well as for the PHPmyAdmin Page, go to http://localhost/mysql .

Hope this helps you. especially you chelcy .. laugh.gif
Go to the top of the page
+Quote Post
puneye
no avatar
Super Member
*********
Group: Members
Posts: 260
Joined: 1-January 09
From: Nepal
Member No.: 75,177
myCENT:50.14



Post #2 post Jan 12 2009, 10:39 AM
QUOTE (noxit @ Jun 20 2004, 02:06 PM) *
Someone was asking in the forums about downloading the PHP/mySQL and apache Server ..seperately...thst is a real headache ..Well.. today we'll learn how to install and run a program called EasyPHP. It is a combination of some common free web server software that put together into an easy to install package. Normally to download and install each separate component can take a long time, plus be a headache to configure them to work together properly. Please note that it's a French Software.
It includes:
1. MySQL Database System
2. Apache Web Server
3. PHP Programming Language
4. PHP MyAdmin Database Interface
That means you'll be able to run PHP or any other SQL DB driven PHP script after installing a single package straight away.

Downloading: Go to www.easyphp.org and download the package straight away

INSTALLING:
1. Run the 'EXE' file. This is the file you downloaded from the web site. An alart box will apear, click "yes" to continue.

2.Welcome Screen will appear. Click Next.

3. Accept the License Agreement.

4. After going thru the Warning Screen, select the install directory. I'd recommend you guys not to use the default path that install the program in the Program Files. Use a shorter path like C:\EasyPHP, I tell you you it will help ya in future.

5.Confirm the settings and click INSTALL

6. After finishing the main installation, it will show you some extra informations. Click NEXT to continue.

10. The final screen will ask if you would like to launch the welcome html page and also launch the program. Leave 'ouvrir la page d'accueil' checked if you would like to view the welcome page. Note that this page is in French. Click FINISH.

RUNNING:
1. Find the EasyPHP folder and there click on the EasyPHP icon to run the package.

2. You'll see say "E with a dot" type of icon in the system tray if the program starts. Check if the red dot is blinking in the system tray, that ensures that the package is running without any error.

TESTING:
1. Launch any internet browser and type HTTP://LOCALHOST in the address bar, please note that the local IP will also work in this case instead of LOCALHOST. Press ENTER. You'll se the EasyPHP welcome Screen if everything is ok.

CONFIGURING APACHE:
You'll have to edit the Apache Configuration File to point your webserver as well as the package to the right dir/index.html file so that whenever you or a visitor types your IP in his/your address bar, the right page appears.

1.To configure the Apache File please go thru C:\EasyPHP\apache\conf\ and open the HTTP.CONF file. Find the "DocumentRoot "C:/EasyPHP/www" and the <Directory "C:/EasyPHP/www"> lines and replace the path. For example, if you have your index.html file in the folder "Web" on the drive D:, replace those lines with "DocumentRoot "D:/Web" and "<Directory D:/Web">.

2. Restart EasyPHP. Open your browser and type http://localhost or http://yourIP to check if the new setting is working

3. If you see the setting's working, start implenting PHP and MySQL scripts right away. And for the MySQL admin as well as for the PHPmyAdmin Page, go to http://localhost/mysql .

Hope this helps you. especially you chelcy .. laugh.gif



This tutorial seems very good but we have also another two option for easy php and mysql installation.
you can use for it wamp server for that.
this is .exe installer so easy to install. it has phpmyadmin for database.
when installation complete run wamp server.
then simply you can see the php information do step 2 above.
CODE
http://localhost

when you want to use mysql using phpmyadmin you will see there is message saying
CODE
The red words in the above window is " Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole."


To solve this problem do the following steps.
  1. Left click on tray icon of WAMP Server - Mysql - Mysql console.
  2. Now it open Dos window Just Press Enter.
  3. and Type SET PASSWORD FOR 'root'@'localhost' = PASSWORD('passwd'); and Press Enter (Note: you need to put your password instead of passwd)
  4. Now go and search file config.inc.php on your installation directory (In my computer this file is located at C:\wamp\apps\phpmyadmin2.11.6)
  5. Open config.inc.php file ( you can open it with notpad for easy) then find: $cfg['Servers'][$i]['password'] = ''; and insert your password in the above ''. Save your config.inc.php.
  6. Now open your phpmyadmin on your brower you solve this problem. Enjoy the environment of php and mysql for testing your website.
Go to the top of the page
+Quote Post
akira550
no avatar
Super Member
*********
Group: Members
Posts: 254
Joined: 19-September 09
From: Geek Ville
Member No.: 88,395
myCENT:30.41



Post #3 post Sep 25 2009, 06:44 AM
thanks guys for sharing this one happy.gif i will try this and learn this happy.gif i am using mysql in my pc lately and using navicat into it for my private server game
Go to the top of the page
+Quote Post
Ash-Bash
no avatar
1337 HaxXx0r
*********
Group: Members
Posts: 893
Joined: 4-February 09
From: UK
Member No.: 76,536
myCENT:7.06



Post #4 post Sep 25 2009, 01:16 PM
Very nice tutorial, I learned so much through this. Thanks for making a topic about this. I have been using mysql a lot because of my new forum this has really helped me out thanks I hope to see you making more like this.
Go to the top of the page
+Quote Post
-Sky-
no avatar
Per essere, o non essere.
*********
Group: [HOSTED]
Posts: 743
Joined: 30-August 08
From: Italy
Member No.: 67,096
myCENT:94.67



Post #5 post Sep 25 2009, 08:04 PM
Very nice tutorial there noxit. Took time to read it all, but got to the end eventually. tongue.gif Issn't this just like normal php? I don't see the difference. :/
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No new   24 arens 25,582 23rd October 2009 - 06:42 AM
Last post by: stopthewarm
No New Posts   13 bttfpromo 18,961 24th June 2006 - 06:51 AM
Last post by: lone_wild_wolf
No New Posts 11 holyium 13,082 16th December 2008 - 04:22 PM
Last post by: minimcmonkey
No new   15 Zenchi 14,097 24th June 2009 - 04:37 AM
Last post by: iworld200
No New Posts   6 Shadow 8,336 23rd June 2009 - 08:49 PM
Last post by: iworld200
No New Posts   2 Eric Straven 4,493 8th September 2004 - 02:57 PM
Last post by: ZorBiX
No New Posts   1 downpour 4,045 30th September 2004 - 06:05 AM
Last post by: spawn_syxx9
No New Posts   2 anwiii 1,033 25th September 2009 - 07:31 AM
Last post by: mahesh2k
No New Posts   2 Inty 3,682 3rd October 2004 - 11:17 AM
Last post by: mobileunlocking
No New Posts   5 -prodigy- 3,123 6th October 2004 - 06:37 AM
Last post by: -prodigy-
No New Posts   4 (G)Rob 214 27th September 2009 - 07:46 AM
Last post by: Ash-Bash
No New Posts   3 s2city 2,942 10th October 2004 - 07:44 PM
Last post by: s2city
No new   30 ORION 24,103 31st October 2005 - 06:45 AM
Last post by: believer
No New Posts   0 SuburbanalCuts 3,086 18th October 2004 - 10:38 PM
Last post by: SuburbanalCuts
No New Posts   1 amhso 1,329 31st May 2006 - 06:29 PM
Last post by: serverph


 



RSS Open Discussion Time is now: 8th November 2009 - 09:00 AM

Web Hosting Powered by ComputingHost.com.