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

  • Home
  • SEARCH
  • 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 6559147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:17:13+00:00 2026-05-25T13:17:13+00:00

After spending 1 good day I still unable to resolve the following error: Testing

  • 0

After spending 1 good day I still unable to resolve the following error:

Testing Note: PHPUnit was not found in your include_path, therefore no
testing actions will be created.

This error appears when I create a new Zend-project.

What i have tried so far:

  1. Updated Pear to the latest version.
  2. changed config to autodiscover as described on the readme of phpunit.
  3. Also I changed the include path of my php.ini file to the following:

include_path=”.;S:\PHP\PEAR;S:\PHP\PEAR\PHPUnit;S:\Framework\ZendFramework-1.11.10\library;S:\PHP\PEAR\PEAR”

However I am still receiving the error.

What does work is the commandline phpunit , the correct php.ini is loaded (checked by phpinfo()) so what am I missing?

Additional information

C:\Users\Dev\Desktop>php --ini
Configuration File (php.ini) Path: C:\Windows
Loaded Configuration File:         S:\PHP\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed:      (none)

Instalation information:

  • Apache 2.2.19
  • php 5.3.6
  • mysql 5.5.15

I did not install xammp or wammp just manual install to learn.

php.ini that load :=> http://pastebin.com/bpqKhF7U

Update!

Php include_path is ambiguous the error you receive is because your .zf.ini is wrongly configured (mine was)

.zf.ini can be found @ users home folder

It looks like this:

php.include_path=”.;S:\xampp\php\;S:\xampp\php\PEAR;S:\xampp\php\PEAR\PHPUnit”

After changing this parameter to the right locations the error did not occur anymore!.

  • 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-25T13:17:13+00:00Added an answer on May 25, 2026 at 1:17 pm

    PHP command line interpreter in windows can use a different php.ini file, see my answer to this question testing zend with phpunit gives me "The mysql driver is not currently installed"

    You should check that the phpunit is available on your path, what happen if you type phpunit in a command prompt? Is phpunit in your path?

    Anyway the best method to install PHPUnit is the pear method, it should take care of any aspect. I always used that method (Linux and Mac) and everything worked with no need to change the path nor the php.ini file. Don’t know if this is also true for Windows.

    Update

    There is more than one way to change the loaded ini file see all of them here

    The easiest way could be with an environment variable:

    PHPRC=path of your current apache php.ini file
    

    or with a registry setting

    [HKEY_LOCAL_MACHINE\SOFTWARE\PHP], value of IniFilePath (Windows only)
    

    In this way you should be able to load the same file for the apache version. Or you can keep CLI configuration separated and replicate your include_path setting in S:\PHP\php.ini

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

Sidebar

Related Questions

After spending a good 3 to 4 hours on google trying to find any
After spending a not-insignificant amount of time converting a page that used concatenated html,
Good day to all. I have a problem with the following code: textBox.addEventListener(KeyboardEvent.KEY_DOWN,handler); function
After spending some hours reading about Unit Testing and test driven development here on
After spending three weeks learning Objective-C and Cocoa programming for my work, I've been
After spending a miserable month with MySQL/.NET/EntityFramework, my findings: Support for Entity Framework is
After spending some time wireframing my ideas, I want to start building my rails
How to migrate to *nix platform after spending more than 10 years on windows?
After becoming somewhat estranged open source, and spending some years developing web applications in
I'm considering spending time learning and using LINQ to SQL but after years of

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.