API Gen with NetBeans 7.2.1
1 answer
The problem is the Netbeans installation doesn't know where your default PHP executable is. You will need to add the PHP path to Windows environment by following these steps:
- Unpack APIGen in a suitable location for personal preference
- Change to the PHP executable directory (for XAMPP in C it will look like C: \ xampp \ php
- Copy the location address to your window path
- Open the start menu and right click on Computer
- Select "Advanced System Preferences" on the left and click on "Environment" in the new window.
- In the second view of the list, check the entry "Path" and click "Edit"
- Place your cursor at the very end of the value field.
- Enter a half and paste the copied path in step 3, make sure your path ends with a backslash.
- Click ok and then restart Netbeans.
- Go to Options → PHP and then click "Search", now Netbeans can find your PHP executable.
To configure APIGen in netbeans,
- Go to Options -> PHP -> APIGen
- Find your extracted APIGen location and select the apigen.bat file.
- You can also add "-debug" after apigen.bat to get detailed error reports if something fails.
Your system should now be ready to create a document. The first time you create documentation, you will be prompted to select an output folder and documentation.
+8
source to share