• Answers
  • Web
Personalize Yedda, (And make Danny Happy)
People ask & answer about almost everything. Tell us what you're interested in... So we can personalize Yedda especially for you
I'm interested in:

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

Share Send to a friend Watch Report
 
 

2 Posted Answers
Order by

 
8 helpful answers
Web Two Point OohhhYeahhh .

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

Posted 2006-09-11T14:23:29Z
aloncarmel2k was invited by Yedda to answer this question.

 
2 helpful answers

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

Posted 2006-09-11T20:30:38Z
sirgt was invited by Yedda to answer this question.

Sign in to participate

Got an answer for vadim1508? Would you like to comment on the posted answers, or vote for the one which you think is the best?

Sign up for a free account, or sign in (if you're already a member).

Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2009, Yedda Inc. and respective copyright owners · CC License