SlideShare a Scribd company logo
DEVELOPING PHP APPLICATIONS WITH NETBEANS IDE
Sayed Ahmed
BSc. Eng. in Computer Engineering, BUET, Bangladesh
MSc., Computer Science, U of Manitoba, Canada
Software/Computer Engineer, Canada
http://www.justetc.net
http://sayed.justetc.net
sayed@justetc.net
TOOLS
 WAMP: The platform in windows
 http://www.wampserver.com/en/
 Netbeans IDE: use the PHP column
 https://netbeans.org/downloads/
 Xdebug included
 Install the Wamp, run it
 Configure and Start Apache
 Install Netbeans, and run it
WAMP ADMINISTRATION
A SCREENSHOT ON DEBUGGING
PROJECT PROPERTIES WINDOW
Project Name->right click->select properties
SET THE PROJECT URI
PHP.INI CONFIGURATION REQUIRED
DEBUG RELATED OPTIONS IN THE MAIN MENU
DEBUG SETTINGS IN NETBEANS
 Tools->options, then PHP, then debugging
VARIABLES AND VALUES
IN DESCRIPTION
 To enable xdebug debugging in Netbeans IDE php.ini needs
some configuration
[You will be able to debug PHP applications the way you do in
Visual Studio, Turbo C/C++ IDE]
 php.ini configuration Required
 ;XDEBUG Extension
zend_extension =
“c:/wamp/bin/php/php5.4.12/zend_ext/php_xdebug-2.2.3-5.4-vc9-
x86_64.dll”
 [xdebug]
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir = “c:/wamp/tmp”
CONFIGURATION REQUIRED IN NETBEANS IDE
 Configuration Required in Netbeans IDE:
 1. Set the Project URI to the path under your web-
server; as you can see the site in a browser; the path
shown in the browser address bar. Right click the
project, click properties, click run configuration, set
the Project URI. Example:
http://127.0.0.1:800/example_projects/TodoList/web/
 2. Go to Tools->Options->PHP->debugging. see if
the parameters are ok, if not fix them. Also, set the
properties you want. You may check ‘Watches and
Balloon evaluation’
MISC STUFF
 You can set the breakpoints in your project
 You can select debug or debug file from menu or
from right clicking on the project
 Then you can use the Step Over, Step Into, Step Out
from debug menu or shortcut keys [better]
—
 You can also check the values of the variables
 You can also check the status of the stack
and see all breakpoints listed; there is a window for
that
 I will add pictures or pdf slides with screen shots to
make you understand it better.
FREE TRAINING BY JUSTETC
 Training and Education in Bangla:
 http://Bangla.SaLearningSchool.com
 http://Blog. SaLearningSchool.com
 Training and Education in English:
 http://www.SaLearningSchool.com
 http://English.SaLearningSchool.com
 http://www.SitesTree.com
---------------------------------------------------------------------------------
 Ask questions and get answers
 http://Ask.JustEtc.net
---------------------------------------------------------------------------------
 Offline IT Training:
 http://University.JustEtc.net
OUR ADDRESSES
 Trudelle Street, Toronto, Canada
 sayed@justetc.com
 Shimultuly, Gazipur, Bangladesh
 Justetc Computers
 Habib Complex, 2nd Floor
 rafik@justetc.com (01942747702)
CONCERNS?
http://ask.justetc.net

More Related Content

DOCX
Update 21.05
PDF
Drupal Auckland Meetup; Debug like a pro
PPTX
C quiz for FPL exams
PDF
BDD e TDD (Café Ágil)
ODP
Some ways to DRY in Rails
PPTX
Website Development Roles
PDF
Avis d'expert : Les Tests Logiciels
KEY
Plugin Development Practices
Update 21.05
Drupal Auckland Meetup; Debug like a pro
C quiz for FPL exams
BDD e TDD (Café Ágil)
Some ways to DRY in Rails
Website Development Roles
Avis d'expert : Les Tests Logiciels
Plugin Development Practices

Similar to Developing php applications with netbeans ide (20)

PPSX
Introduction of VS2012 IDE and ASP.NET Controls
PDF
Dnn developer contact us user manual
PPTX
Better User Experience with .NET
PDF
Bpc 10.0 NW Mass User Management tool
PDF
Quiz application system project report..pdf
PPT
STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...
PDF
PDF
Murach : How to develop a single-page MVC web
PDF
Debugging - Figuring it out yourself (WordCamp Dublin 2019)
PDF
BDD in practice based on an open source project
PDF
How to Webpack your Django!
PDF
What is Puppet | Puppet Tutorial for Beginners | Puppet Configuration Managem...
DOCX
Update 21.05
ODP
Pyramid deployment
PDF
Codeception introduction and use in Yii
PPTX
How to make a Load Testing with Visual Studio 2012
PPTX
Azure Web SItes - Things they don't teach kids in school - Multi-Mania
PDF
Homestead demo
ODP
Create ABS Project In Twenty Minutes
DOCX
Sappsmoduletutorial 130129062429-phpapp02
Introduction of VS2012 IDE and ASP.NET Controls
Dnn developer contact us user manual
Better User Experience with .NET
Bpc 10.0 NW Mass User Management tool
Quiz application system project report..pdf
STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...
Murach : How to develop a single-page MVC web
Debugging - Figuring it out yourself (WordCamp Dublin 2019)
BDD in practice based on an open source project
How to Webpack your Django!
What is Puppet | Puppet Tutorial for Beginners | Puppet Configuration Managem...
Update 21.05
Pyramid deployment
Codeception introduction and use in Yii
How to make a Load Testing with Visual Studio 2012
Azure Web SItes - Things they don't teach kids in school - Multi-Mania
Homestead demo
Create ABS Project In Twenty Minutes
Sappsmoduletutorial 130129062429-phpapp02
Ad

More from Sayed Ahmed (20)

PDF
Workplace, Data Analytics, and Ethics
PPTX
Python py charm anaconda jupyter installation and basic commands
PPTX
[not edited] Demo on mobile app development using ionic framework
PPTX
Sap hana-ide-overview-nodev
PPTX
Invest wisely
PPTX
Will be an introduction to
PPTX
Whm and cpanel overview hosting control panel overview
PPTX
Web application development using zend framework
PPTX
Web design and_html_part_3
PPTX
Web design and_html_part_2
PPTX
Web design and_html
PPTX
Visual studio ide shortcuts
PPTX
Virtualization
PPT
User interfaces
PPT
Unreal
PPTX
Unit tests in_symfony
PPTX
Telerik this is sayed
PPTX
System analysis and_design
PPTX
Symfony 2
PPT
Story telling and_narrative
Workplace, Data Analytics, and Ethics
Python py charm anaconda jupyter installation and basic commands
[not edited] Demo on mobile app development using ionic framework
Sap hana-ide-overview-nodev
Invest wisely
Will be an introduction to
Whm and cpanel overview hosting control panel overview
Web application development using zend framework
Web design and_html_part_3
Web design and_html_part_2
Web design and_html
Visual studio ide shortcuts
Virtualization
User interfaces
Unreal
Unit tests in_symfony
Telerik this is sayed
System analysis and_design
Symfony 2
Story telling and_narrative
Ad

Recently uploaded (20)

PDF
Network Security Unit 5.pdf for BCA BBA.
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Approach and Philosophy of On baking technology
PPTX
Big Data Technologies - Introduction.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Electronic commerce courselecture one. Pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Network Security Unit 5.pdf for BCA BBA.
The AUB Centre for AI in Media Proposal.docx
Dropbox Q2 2025 Financial Results & Investor Presentation
Reach Out and Touch Someone: Haptics and Empathic Computing
20250228 LYD VKU AI Blended-Learning.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Review of recent advances in non-invasive hemoglobin estimation
Approach and Philosophy of On baking technology
Big Data Technologies - Introduction.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
MYSQL Presentation for SQL database connectivity
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Electronic commerce courselecture one. Pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
NewMind AI Weekly Chronicles - August'25-Week II
A comparative analysis of optical character recognition models for extracting...
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx

Developing php applications with netbeans ide

  • 1. DEVELOPING PHP APPLICATIONS WITH NETBEANS IDE Sayed Ahmed BSc. Eng. in Computer Engineering, BUET, Bangladesh MSc., Computer Science, U of Manitoba, Canada Software/Computer Engineer, Canada http://www.justetc.net http://sayed.justetc.net sayed@justetc.net
  • 2. TOOLS  WAMP: The platform in windows  http://www.wampserver.com/en/  Netbeans IDE: use the PHP column  https://netbeans.org/downloads/  Xdebug included  Install the Wamp, run it  Configure and Start Apache  Install Netbeans, and run it
  • 4. A SCREENSHOT ON DEBUGGING
  • 5. PROJECT PROPERTIES WINDOW Project Name->right click->select properties
  • 8. DEBUG RELATED OPTIONS IN THE MAIN MENU
  • 9. DEBUG SETTINGS IN NETBEANS  Tools->options, then PHP, then debugging
  • 11. IN DESCRIPTION  To enable xdebug debugging in Netbeans IDE php.ini needs some configuration [You will be able to debug PHP applications the way you do in Visual Studio, Turbo C/C++ IDE]  php.ini configuration Required  ;XDEBUG Extension zend_extension = “c:/wamp/bin/php/php5.4.12/zend_ext/php_xdebug-2.2.3-5.4-vc9- x86_64.dll”  [xdebug] xdebug.remote_enable=true xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 xdebug.remote_handler=dbgp xdebug.profiler_enable=1 xdebug.profiler_output_dir = “c:/wamp/tmp”
  • 12. CONFIGURATION REQUIRED IN NETBEANS IDE  Configuration Required in Netbeans IDE:  1. Set the Project URI to the path under your web- server; as you can see the site in a browser; the path shown in the browser address bar. Right click the project, click properties, click run configuration, set the Project URI. Example: http://127.0.0.1:800/example_projects/TodoList/web/  2. Go to Tools->Options->PHP->debugging. see if the parameters are ok, if not fix them. Also, set the properties you want. You may check ‘Watches and Balloon evaluation’
  • 13. MISC STUFF  You can set the breakpoints in your project  You can select debug or debug file from menu or from right clicking on the project  Then you can use the Step Over, Step Into, Step Out from debug menu or shortcut keys [better] —  You can also check the values of the variables  You can also check the status of the stack and see all breakpoints listed; there is a window for that  I will add pictures or pdf slides with screen shots to make you understand it better.
  • 14. FREE TRAINING BY JUSTETC  Training and Education in Bangla:  http://Bangla.SaLearningSchool.com  http://Blog. SaLearningSchool.com  Training and Education in English:  http://www.SaLearningSchool.com  http://English.SaLearningSchool.com  http://www.SitesTree.com ---------------------------------------------------------------------------------  Ask questions and get answers  http://Ask.JustEtc.net ---------------------------------------------------------------------------------  Offline IT Training:  http://University.JustEtc.net
  • 15. OUR ADDRESSES  Trudelle Street, Toronto, Canada  sayed@justetc.com  Shimultuly, Gazipur, Bangladesh  Justetc Computers  Habib Complex, 2nd Floor  rafik@justetc.com (01942747702)