install php plugin in netbeans

1. open netbeans and click on Tools > Plugins

2. plugins screen will be displayed

3. click on Available Plugins tab and choose PHP

4. click Next to continue

5. tick on I accept the terms in all of the license agreements checkbox

6. installing the plugin

7. after finished, restart the program

8. click File > New Project and choose PHP project

9. define Name and Location of the project

10. click Finish to proceed

11. your php project has been created

12. write a simple coding to test your project whether it works or not


<!DOCTYPE html>
<html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <title></title>
 </head>
 <body>
 <?php
 // put your code here
 echo 'hello dunia!';
 ?>
 </body>
</html>

13. finish

Advertisements