PEAR packages can't be located by PHP module

i,


My Environment:
Apache 2.0.54 (Windows)
PHP 5.0.5
PEAR 1.4.11

My problem: it seems that require_once of any my PHP modules can't find
any PEAR package. For, example, I am using: require_once
'PHPUnit/Framework/TestCase.php'; for PHPUnit, but my sample fails to
run.
I have the following correct include path in my PHP.ini:
include_path=".;C:\PHP\PEAR"
In command line "pear list" returns the list of my installed packages
(seems no problem).

What do I miss?

Thanks a lot for help!

Vadim
Liked this question? Tell your friends about it

2 Answers

Order by
Oldest to Newest
Newest to Oldest
Votes

The server is win32 i assume? Is the php under apache or IIS ? what versions ,please provide more info.

Web Two Point OohhhYeahhh .

i think the require are incorrect... i don't know in windows but over gnu/linux u just type the name of the extension not the full path

Related Questions

Other people asked questions on similar topics, check out the answers they received:

Asked: Can php send out e-mail without mail server ...

I know we can send email from php utilizing smtp servers on various hosts or if there is neighborhood smtp server set up. Exactly what I want to know is can php send email without any regional or ...

Asked: How to make access control list using PHP?

In PHP,how to make access control list like Joomla, I need to create different user group and need to access the back end for appropriate user like user access rights. Thanks in advance ...

Asked: Apache redirecting help

How would I redirect my users from example.com/blah/index.php if that was typed in to example.com/blah/ with apache or php? For cleaner urls.

More Questions

I brought a package of charmin it says its a 12 double rolls but its

Oh hi Mary, did you compare the packages to see if the one you bought has a different sheet count than the single roll packages? Sometimes the double roll tissue doesn't look very different from the single roll kind except it's a little fatter. If you did and you're sure it was packaged wrong then ...

Send AIM instant messages with a .php script?

Please let me know if you are still facing the issue to websuiteehlp@aol.com

Mustard packaging

In the last month or two, the Grey Poupon has been offered only in "plastic" (for lack of a better description) squeeze bottles. This is fine if it is being used to spread on sandwiches, etc., but when using in recipes in amounts such as 1 to 2 tablespoons, it is awkward and difficult. Wish I ...

Camera module

These solutions can embed go up in chip of CMOS image sensor, on the auxiliary chip inside camera module, also or it is base band or applied processor chip go up.