A. Sidiq Purnomo

Universitas Mercu Buana Yogyakarta

You are here: » Creating PHP and MySQL Website With WebMatrix

Creating PHP and MySQL Website With WebMatrix

Step 1 : Requirements

  1. Microsoft WebMatrix
    For the installation of Microsoft WebMatrix you can see in the url How To Install Microsoft WebMatrix.
  2. MySQL Database
    For the installation of mysql you can see in the url How To Install MySQL Database Server On Windows 7 .
  3. Creating directory for project PHP Website under the “…My Web Sites” directory, for example “C:Userssandy raDocumentsMy Web SitesDnD”.
clip_image002

Step 2 : Creating PHP Site

  1. Open Microsoft WebMatrix, Go to Start Menu –> All Programs –> Microsoft WebMatrix –> Microsoft WebMatrix. You will see a window that looks like this :
    clip_image004
  2. You will see there are four main options :
    • My Site
    • Site From Web Gallery
    • Site From Template
    • Site From Folder
    clip_image006
  3. To get started with our PHP Website , select “Site from Folder”.
    clip_image008
  4. After finished installation, You should see a window that looks like this :
    clip_image010

    You will see :

    1. URL, this is address of your site (example : http://localhost:27598)
    2. Path, this is path address of directory to save your the site (example : C:UsersSandy RaDocumentsMy Web SitesDnD).

Step 3 : Open The Workspace and Creating PHP File

  1. Click the Files workspace selector to open the Files workspace.
  2. In the navigation pane on the left, right click the “DnD” Directory, and then click New File to creating the “PHP” file.
    clip_image012
  3. If you see the “Choose a File Type” window :
    1. Choose an PHP file, and then in the “Name” textfield type “InfoPHP.php” for rename “PHPPage.php”
    2. And then click the “OK” button.
    clip_image014
  4. The next step, if you see the “PHPInfo.php” file in the workspace, now you are ready to write PHP code, type below code into it :
    <?php phpinfo(); ?>

    and then save this file.

  5. To launch the “InfoPHP.php” file in your browser, Click the “Runbutton in the WebMatrix ribbon and select your favorite web browser.
    clip_image016
  6. You should see a window that looks like this :
    clip_image018

Step 4 : Creating PHP with MySQL Database in the Microsoft WebMatrix 

For the create PHP with MySQL Database in the Microsoft WebMatrix,

  1. Configuring MySQL Database Connections With Microsoft WebMatrix
  2. Checking your MySQL Database Connections
  3. Creating Table In MySQL Database With Microsoft WebMatrix

You can see in the url Creating and Configuring MySQL Database With WebMatrix.

Alternate you can download all step in PDF file:
Download pdf tutorial in this link –> “Creating PHP and MySQL Website With WebMatrix“.
* … Good Luck ! … *

By : DnD ~ Hanya Ingin Berbagi

Print Friendly, PDF & Email
Posted by 0 Responses
 

Free Email Newsletter

Stay Updates with this Blog. Get Free email newsletter updates..

And then confirm your email subcription

   

No Comment to “Creating PHP and MySQL Website With WebMatrix”

  1. No Comment yet. Be the first to comment...
Leave your comment here:

Secure * Time limit is exhausted. Please reload the CAPTCHA.

Dec
20
2011