install netbeans with php
DESCRIPTION
Install NetBeans with PHP. ISYS 475. Install NetBeans. (If you want install Java) First download and install Java JDK: http://www.oracle.com/technetwork/java/javase/downloads/index.html Then download and install NetBeans 7.3.1 bundll All with PHP: - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Install NetBeans with PHP](https://reader035.vdocument.in/reader035/viewer/2022062410/56816384550346895dd46a37/html5/thumbnails/1.jpg)
Install NetBeans with PHP
ISYS 475
![Page 2: Install NetBeans with PHP](https://reader035.vdocument.in/reader035/viewer/2022062410/56816384550346895dd46a37/html5/thumbnails/2.jpg)
Install NetBeans
• (If you want install Java) First download and install Java JDK:– http://www.oracle.com/technetwork/java/javase/do
wnloads/index.html• Then download and install NetBeans 7.3.1 bundll
All with PHP:– http://netbeans.org/downloads/index.html
• Note: This NetBeans with PHP only install the PHP code editor, not the PHP compiler.
![Page 3: Install NetBeans with PHP](https://reader035.vdocument.in/reader035/viewer/2022062410/56816384550346895dd46a37/html5/thumbnails/3.jpg)
install and configure an AMP (Apache, MySQL, PHP) package
• http://netbeans.org/kb/docs/php/configure-php-environment-windows.html
• Installing and Configuring the XAMPP Package– Download the XAMPP 1.8.2 installer package
• install the Apache server and the MySQL database server as services
• http://www.apachefriends.org/en/xampp-windows.html
• Note: On the XAMPP page, Don’t click the 7-ZIP Download. Scroll down untill you can see the content of the download. Click Installer.
• See next slide
![Page 4: Install NetBeans with PHP](https://reader035.vdocument.in/reader035/viewer/2022062410/56816384550346895dd46a37/html5/thumbnails/4.jpg)
Click Installer
![Page 5: Install NetBeans with PHP](https://reader035.vdocument.in/reader035/viewer/2022062410/56816384550346895dd46a37/html5/thumbnails/5.jpg)
Connecting NetBeans to PHP Compiler
• From NetBeans IDE, click Tools/Option, then click PHP/General:
• For PHP 5 Interpreter, browse to:– c:\xampp\php\php.exe
![Page 6: Install NetBeans with PHP](https://reader035.vdocument.in/reader035/viewer/2022062410/56816384550346895dd46a37/html5/thumbnails/6.jpg)
Testing PHP
• Open a new php project:– File/New project/PHP
![Page 7: Install NetBeans with PHP](https://reader035.vdocument.in/reader035/viewer/2022062410/56816384550346895dd46a37/html5/thumbnails/7.jpg)
Connecting to a MySQL Database
• http://netbeans.org/kb/docs/ide/mysql.html• Register and configure MySQL Server
Properties:– From NetBeans, right-click the Databases node in
the Services window and choose Register MySQL Server to open the MySQL Server Properties dialog box.
![Page 8: Install NetBeans with PHP](https://reader035.vdocument.in/reader035/viewer/2022062410/56816384550346895dd46a37/html5/thumbnails/8.jpg)
Basic Properties
![Page 9: Install NetBeans with PHP](https://reader035.vdocument.in/reader035/viewer/2022062410/56816384550346895dd46a37/html5/thumbnails/9.jpg)
Admin Properties:C:\xampp\mysql\bin
![Page 10: Install NetBeans with PHP](https://reader035.vdocument.in/reader035/viewer/2022062410/56816384550346895dd46a37/html5/thumbnails/10.jpg)
Testing MySQL Server
• Before you can connect to a MySQL Database Server, you must first ensure that the MySQL Database Server is running on your machine. If the database server is not connected you will see (disconnected) next to the user name in the MySQL Server node in the Service window and you will not be able to expand the node.
![Page 11: Install NetBeans with PHP](https://reader035.vdocument.in/reader035/viewer/2022062410/56816384550346895dd46a37/html5/thumbnails/11.jpg)
Starting the MySQL Server:1. First start the XAMP Control Panel2. Start Apache and MySQL
![Page 12: Install NetBeans with PHP](https://reader035.vdocument.in/reader035/viewer/2022062410/56816384550346895dd46a37/html5/thumbnails/12.jpg)
Port 80 issue• If you get the Port 80 conflict message, most
likely is because of your computer is running Internet Information service, IIS, in the background and you need to stop it.
• To stop IIS:– Control Panel/Administrative tools/Internet
Information Service– Click STOP to stop IIS
![Page 13: Install NetBeans with PHP](https://reader035.vdocument.in/reader035/viewer/2022062410/56816384550346895dd46a37/html5/thumbnails/13.jpg)
Connecting to MySQL Server
• In the IDE's Services window, right-click the MySQL Server node and choose Create Database.
• Creating Database Tables– Using the Create Table Dialog
![Page 14: Install NetBeans with PHP](https://reader035.vdocument.in/reader035/viewer/2022062410/56816384550346895dd46a37/html5/thumbnails/14.jpg)
If loading NetBeans is too slow: You may uninstall some components: Tools/plugins and
click Installed