Nov 21, 2009

Setting up easyPHP on your local computer - tutorial

free web hosting
Open Discussion > MODERATED AREA > Tutorials

Setting up easyPHP on your local computer - tutorial

noxit
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

 

 

 


Comment/Reply (w/o sign-up)

puneye
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.

 

 

 


Comment/Reply (w/o sign-up)

akira550
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

Comment/Reply (w/o sign-up)

Ash-Bash
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.

Comment/Reply (w/o sign-up)

-Sky-
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. :/

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : setting, easyphp, local, computer

  1. Installing Joomla On Local Computer(localhost)
    installing and managing joomla on your local host (13)
  2. How To Have More Than 1 Ipod In A Single Computer?
    It describes about connecting many ipods in a single computer (1)
    Hi guys. Lets say you have 3 ipods. Lets name them 1,2 and 3. If 1 is connected and you are working
    in iTunes, and now now when u connect iPod 2 , all the songs in ipod 2 will be erased and updated
    with the songs in the library of ipod 1. to avoid this, just have more than 1 account (in XP) and in
    each account u should connect ony one ipod. ....
  3. Shadow_x21 Tutorial Includes: Remote Shutdown
    and Local Shutdown (8)
    Shadow_x21 Tutorial : Remote and Local Shutdowns Shadow_x21 To Remote Shutdown A Computer.
    Used to shutdown a computer on the same network. Like at school open notepad or a simple text
    editor( not microsoft word) or you can use the command prompt type @echo off cls shutdown -m
    \\Computername -s -t 120 -c "Comment Goes Here" Explanation: @echo off : means that the code
    you typed below @echo off will not be displayed to the user cls : will clear the screen
    shutdown : represents shutdown.exe or the shutdown method -m : represents a remote shutdo....
  4. Computer Speed Enhancer.
    how to speed up your computer (13)
    I posted this tutorial here a very long time ago, almost been 2 years since then and its helped a
    lot of people increase their speed, so here it is: The first step is to go start/run. Next in
    the run bar type "msconfig" Now here is where you need to be, the system configuration utility.
    Here are some programs that you don't need necessarily, you can disable witch ever ones you
    feel are necessary. (dont disable microsoft programs unless you're sure). Here is an example of
    what program I unchecked: ------------------------------ The next step go ....
  5. Change Your Computer Password
    Change Your Computer Password (6)
    This Topic will teach how can you change your without knowing your old Passward 1. Click "Start"
    Then Click "Run". 2. In the dialog box type in "CMD" and select "OK". (Opens Command Prompt) Or you
    can manually open CMD by navigating to "C:\WINDOWS\system32\cmd.exe". 3. Once Command Prompt is
    open, type in "net user" and hit enter. This will display all user accounts. 4. Now type in the
    following command: " net user (ACCOUNTNAME) * " and hit enter Example: net user Trap * (Dont
    forget to add the asterisk) 5. Now it will ask for a new password, enter a password and....
  6. How To Reformat Your Harddrive...
    Is your computer slow, reformatting will fix the problem! (12)
    To use this tutorial you first must have prior knowledge of computing and basic experience within
    them. *****WARNING!***** This can damage your PC, if you perform the actions incorrectly.
    ****************** HERE WE GO! 1. Backup all important information on your computer, as
    everything will be deleted. 2. Make Sure you have your Windows XP CD at hand (We need this to
    re-install Windows!) 3. Restart your PC and press 'DEL' (or the key that boots into your
    bios) when prompted. 4. Change the boot sequence to boot from your CD drive first. (This varies over
    d....
  7. How To Change The Default Icon Of Hard Drive In My Computer
    (7)
    Well i got to know about method of changing the hard drive icon, thought i should share it with you
    guys. Well he goes. First what you have to do is find Icon files that you may want to put on your
    hard drive. These files are basically of ".ico" extension so a simple search for "*.ico" (remove the
    "" when searching) in you computer will generate results with various icons you can use. You
    can also create new icons with an icon editor. I use the 'Easy Icon Maker' available from
    this website http://www.icon-maker.com Well now assuming that you've got ....
  8. Beginners Guide To Becoming A Computer Hardware Tech
    (2)
    Welcome to my Beginners Guide To Becoming a Computer Hardware Tech guide into getting started with
    computer hardware installation, upgrading and maintaining. I will be talking about various items
    you will need and point to a huge index of links. This includes tutorials on building a computer
    from scratch, tips ands tricks, myths exposed and more. If you plan to build computers from scratch
    then you will need the proper reading in order to get a good understanding of what you will be
    dealing with when you build and maintain computers. The first times on the list ar....
  9. Basic Computer Security
    A small guide to basic computer security for the home (9)
    Howdy all! This is going to be a basic guide to computer security for home users including the use
    of applications and common sense /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
    alt="smile.gif" /> Its not foolproof but no security is and if ive missed anything then add it in!
    First is first, understand the threats. Some people, understandably, think that adware, spyware,
    worms and virusses are the same and this can lead to bad security so first we have to know what each
    is and what they do. Adware is basically a small program that sits on your com....
  10. How To Convert Any Format Video To Dvd Format
    convert videos on your computer to DVD format and burn them to a playa (0)
    How to Convert any Format Video to DVD Format Easily convert videos on your
    computer to DVD format and burn them to a playable DVD disk. by
    brautigam - 7/10/06 Programs Needed: WinAVI Video Converter Folder2Iso
    Nero 7 Ultra Edition (or an equivilent DVD burning software with a "Burn Image to Disk" feature)
    Step 1) a. Open up WinAVIVideoConverter (Don't worry if it says something about
    your codecs, just press close). b. Click on convert to DVD in the bottom right. c. Find ....
  11. Checking Dns Settings For Website
    DNS Setting, Ping, Whois, Dnsreport etc (2)
    If you have recently purchased a domain and facing problems with the workings, the first thing which
    you should check is the DNS setting. Dns settings determine, how to domain is pointed to the Server
    and How the server is connected to the world (internet). Ensure, the DNS settings are perfect to
    make sure, things work smoothly and people across the globe don't have problems accessing your
    site. The basic check would be : PING Suppose you register your domain (example.com) at
    ComputingHost. You get an IP for your website. In this case, suppose its 64.69.35.170. Yo....
  12. View Connection Settings/connections
    How to view connections to your computer (0)
    This topic will explain how you can view who's currently connected to your computer and how to
    view your main computer settings for internet usability. Note: this will probably be pretty basic
    stuff to people who are into computers, but this is likely to help for those people who are
    interested in finding out more info about their internet connection but don't know a lot about
    how to find it out. Well, on windows xp and I believe earlier systems (I only use xp) there's a
    nice little program called netstat, which isn't a win32 (windows) program really. I....
  13. Networking Tutorial: File And Printer Sharing
    A basic computer networking tutorial (0)
    Network Setup: Newbie Install Click start, then right click computer Ensure that the full
    computer name is memorable and that each machine is on the same workgroup. After you've done
    this, you are ready to configure advanced features, such as file and printer sharing. Adding a
    Printer Locally Firstly, you need to configure your printer (on the machine which is
    directly connected to the printer) for printer sharing. Click start, control panel,
    printers/scanners, then right click on your local printer and click 'properties'. Browse to
    the shari....
  14. Build A Computer
    How to build your computer from scratch (28)
    Building a New Computer from Scratch Things you need before you start: 1. A Screw Driver 2. A Flat
    Working Bench 3. Computer Components consisting of: a. Computer Case (Compatible with your Mother
    Board & Power Supply already installed) b. Mother Board (CPU and RAM installed) c. HDD with IDE
    Cable d. CD-ROM (Optional) with IDE Cable e. Floppy Drive (Optional, but Recommended) with IDE Cable
    To start building your computer, follow these steps: a) Unscrew your case lid or side as the case
    may be. There should be a screws right at the back to allow you to do this. (Also i....
  15. Setting Up Cutenews
    (13)
    Using Frame This tutorial here is for templates that has diffent text files for the frame.And the
    template is separate from it.Scroll down for the normal template. Ok I see a lot of people that
    have problems setting up a simple cutenews because on their tutorial they dont explain it well
    enough for beginners. I am going to explain it using trap17 with the cpanel script of cute news.
    Ok first logon to your cpanel and click "addon scripts" or go where the scripts are and look for
    "cutenews". Put in your information and what the script will be call but I would call i....
  16. Disable 'turn Off System Restore' In Windows Xp
    Useful for computer administrators (6)
    This method will stop people from disabling System Restore. 1. Go to Run (Start->Run) 2. Type
    gpedit.msc and click Enter 3. On the left in the Computer Configuration go to Administrative
    Templates then System then System Restore. 4. Double click on the Turn off System Restore on the
    screen on the right and choose Enable. Check if it's working. Go to System Properties (Control
    Panel -> System) and to tab System Restore The 'Turn off System Restore' should be now
    'unclickable' ....
  17. Make Yourself Admin On A Computer
    (31)
    Last year, my whole family used one computer, and I could never install anything because my account
    was limited, and my parents were scared I would download a virus. One day I decided to try and find
    a way to make myself able to install stuff, and I found out, but because of my parents carelessness.
    It doesn't work if the Administrator, the one that doesn't show up on logon has a password.
    Here's how to do it: Restart your computer, and when it first starts press f8, it's f5 on
    some computers, and then select run Windows in safe mode with networking, a....

    1. Looking for setting, easyphp, local, computer

Searching Video's for setting, easyphp, local, computer
See Also,
advertisement


Setting up easyPHP on your local computer - tutorial

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com