Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3432694
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:28:53+00:00 2026-05-18T07:28:53+00:00

I have downloaded Netbeans 7.0 beta as I wanted to give the PhpDoc functionality

  • 0

I have downloaded Netbeans 7.0 beta as I wanted to give the PhpDoc functionality a bash, but can’t get it to work.
I seem to be falling over on the configuration options for PhpDoc in netbeans. It is asking for the script location,
alt text

but whatever I enter I get the error;

** ERROR *****************************************************************
* Sorry, can't find the php.exe file.
* You must edit this file to point to your php.exe (CLI version!)
*    [Currently set to C:\usr\local\php\cli\php.exe]
* 
* NOTE: In PHP 4.2.x the PHP-CLI used to be named php-cli.exe. 
*       PHP 4.3.x renamed it php.exe but stores it in a subdir 
*       called /cli/php.exe
*       E.g. for PHP 4.2 C:\phpdev\php-4.2-Win32\php-cli.exe
*            for PHP 4.3 C:\phpdev\php-4.3-Win32\cli\php.exe
**************************************************************************
Press any key to continue . . . 

The set-up is Netbeans and xampp running on a windows machine.

Any and all help greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T07:28:54+00:00Added an answer on May 18, 2026 at 7:28 am

    That error indicates that the php.exe executable file is not in your Windows “PATH”, and as such, when Windows tries to run the phpdoc script, it doesn’t know how. Fortunately, the phpdoc script itself checks for this condition and explains it to you, in the error text you posted. Otherwise, the Windows error would have been much more generic and probably unhelpful.

    You need to determine where your php.exe file is located. Then, edit the phpdoc.bat script file itself to hardcode the absolute path. Look for the line near the beginning that SETs the phpCli value. That is where you should place the absolute path to your php.exe file.

    As an aside, I would suggest that your “PhpDoc script” setting in NetBeans should explicitly call the phpdoc.bat script rather than just “phpdoc”, e.g. D:\xampp\php\phpdoc.bat, since both files actually exist. I know that Windows will typically look for “foo.bat” if you tell it to execute “foo” when foo doesn’t exist and foo.bat does exist, but since phpdoc and phpdoc.bat both exist, … I think that Windows trying to run phpdoc directly rather than phpdoc.bat will give you trouble.

    Further, I see that you have the phpdoc.bat file itself listed as the first “argument” to the phpdoc script. That will probably cause you some grief once you get past the “can’t find php.exe” error. You should remove that… the only arguments you should give after naming the script itself are the valid arguments that phpDocumentor expects, particularly the ones it requires — -o for output template, -t for where to write the doc files, -d or -f to tell it where the PHP code is that you want documented.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to Apex and have just downloaded Eclipse to get to work Eclipse
I have downloaded iPhone SDK 4.0.2, I wanted to install it, but it looks
We have a number of PDFs hosted using Lighttpd but when they are downloaded
I am using NetBeans 6.5. For CheckStyle, I have downloaded and installed the nbcheckstyle.nbm
I have downloaded jbpm-installer-3.2.7.jar but I don't know how to install or run the
have downloaded Orca to edit an MSI file. I want to remove some banner
I have downloaded a font that looks less than desirable if it is not
I have downloaded the silver light from this http://www.microsoft.com/silverlight// I need to use this
I have downloaded Privoxy few weeks ago and for the fun I was curious
Does anybody use the Class Designer much in Visual Studio? I have downloaded the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.