Netbeans 7 IDE PHP Getting Started Hello-World Project Example on Linux Ubuntu Easy Visual-Guide

October 21, 2012 | By Regaz | Filed in: Uncategorized.

The Guide Present a Simple Getting-Started SetUp for Netbeans 7+ PHP IDE with a PHP Hello-World Detailed Visual Example on Ubuntu Linux and Ubuntu Based Distros like: Kubuntu, Lubuntu, Xubuntu, Snow-linux

To Make the Entire Easy to Understand and Visualize the Posts Includes the Basic Screenshots of All GUI Steps involved.

The Contents and Details of Guides are Expressly Essentials to Give Focus Only to the Essentials Instructions and Commands and Make the Tut Easier to Understand ;)

To the Article Bottom you Find Link to Tutorial on Installing Evernote for Ubuntu.

Netbeans PHP
  1. How to Install Netbeans IDE for PHP Web Development on Ubuntu:

    Install Netbeans PHP IDE for Ubuntu
  2. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Ubuntu Linux12 Open Terminal
  3. Install the Apache-PHP Environment

    sudo su

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    apt-get install apache2 php5 libapache2-mod-php5
  4. SetUp the Apache Web-Root

    Adding the /var/www Directory to the sudo Group.

    chown root:sudo /var/www

    Make /var/www Writable by Group Users.

    chmod g+w /var/www

    If User is Not in Sudoers File:

    Adding Users to Sudoers File
  5. Make a New Netbeans PHP Application

    Click on New-Project Icon.

    Netbeans IDE New Project

    The PHP Application Should Already be Selected by Default.

    Netbeans IDE New Php Application

    Set the Application Data.

    Set the PHP Version as your System PHP.

    Netbeans IDE New Php Application - Data


  6. Set the PHP Project Sources

    Right-Click Project Name >> Properties.

    Netbeans IDE Php Set Project Properties

    Check Copy files from Source Folder to another location.

    Select from Drop-Down : /var/www/projectName.

    Netbeans IDE Php Set Project Sources

  7. Run Netbeans Hello-World C++

    Here a Sample PHP Hello-World Content.

    ?> echo 'Hello World! :)';

    Click on Run Project Button.

    Netbeans IDE Run Project

  8. How to Install Evernote Clone on Ubuntu Linux:

    Installing Evernote for Ubuntu

Tags: , , , , , , , , ,