

- #XAMPP INDEX.PHP FILE DOWNLOAD HOW TO#
- #XAMPP INDEX.PHP FILE DOWNLOAD INSTALL#
- #XAMPP INDEX.PHP FILE DOWNLOAD FULL#
- #XAMPP INDEX.PHP FILE DOWNLOAD DOWNLOAD#
To create a NetBeans project using this folder, select File – New Project from the menu bar As this is a new Project with no new files, choose PHP – PHP Application If you were converting an existing set of files into a NetBeans project you would select “.with existing sources” Use the Browse button select the PHP folder inside the Documents folder where you will be saving your PHP scripts (this is the folder the XAMPP server is using for PHP files). You should have a PHP folder (inside Documents) from the setting up XAMPP exercise, with the XAMPP application using this folder for its document source.
#XAMPP INDEX.PHP FILE DOWNLOAD INSTALL#
Launch the IDE and check for / install any updates (Use the Help – Check for Updates)Ĭreating Projects in NetBeans NetBeans is a production level IDE (Integrated Development Environment) and is designed to work with Projects, which are collections of PHP scripts, CSS file, library and image files together.
#XAMPP INDEX.PHP FILE DOWNLOAD DOWNLOAD#
Next, download and install the latest version of the NetBeans IDE for PHP (the HTML5 & PHP indicated in figure 7). If you haven’t used Java before you will need to download and install the latest version (available from ). Installing Java NetBeans is a Java application – which may not be installed by default on Windows. If there is no entry it means that xdebug isn’t working (or isn’t installed correctly) – in which case follow the steps from the beginning again. Scroll down the page to look for the (new) entry for xdebug entry for PHP.
#XAMPP INDEX.PHP FILE DOWNLOAD FULL#
A full page of settings should be displayed. Start a browser and navigate to localhost/phptest.php to run the file.

Phpinfo is a built in function which displays the current configuration details of the running PHP engine.

Testing that the debug module is initiated Create a new PHP file called phptest.php in your PHP folder with the following lines

If it still refuses to start at this stage, restore your backup php.ini file. Restart the servers The php.ini file is only used when PHP is started so you will need to use the interface to Stop and Start the servers. Use the search mechanism to look for the value XDebug Make these changes Įdit the file to remove the semicolon at the start of the XDebug lines Change the value for to 1 Add the xdebug.remote_port line with the value 9000 Changing the PHP.INI file Open the php.ini file in a text editor (for example the free editor Notepad++). If it all goes wrong the phpbackup.ini file can be used to revert the system back to the way it was before editing. It is very easy to make a mistake in this file which will result in XAMPP not working. Check that the file php_xdebug.dll exists by looking in C:\XAMMP\php\ext To enable php_xdebug.dll, you will need to edit the php.ini (removing some semicolons) The php.ini to be edited is in C:\XAMMP\php IMPORTANT: Make a backup copy of the php.ini file (call it phpbackup.ini) BEFORE making any changes. Enabling the debugger in XAMPP The php_xdebug.dll debug file is supplied as part of XAMPP, but is not enabled in the default distribution. You should also have created and run the sample PHP program. Pre-‐requirements You will need a working install of XAMPP – follow the instructions in the “Installing and using XAMPP for PHP programming” exercise ensuring that you have created a folder for your work called PHP in the My Documents folder.
#XAMPP INDEX.PHP FILE DOWNLOAD HOW TO#
Installing and using XAMPP with NetBeans PHP About This document explains how to configure the XAMPP package with NetBeans for PHP programming and debugging (specifically for students using a Windows PC).
