5 thumbs up

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

Would you like to answer or comment?

Sign up for a free account, or sign in (if you're already a member).
  • 1179 views
Share Send to a friend Watch Report
 
 

Posted Answers

Order by
 
27 thumbs up
Web Two Point OohhhYeahhh .

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


Posted 2 years ago ( permalink )
In reply to vadim1508's question
aloncarmel2k was invited by Yedda to answer this question.

Rated as
#1 out of 2
0
0

Helpful?

line
line
line



 
17 thumbs up

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 2 years ago ( permalink )
In reply to vadim1508's question
sirgt was invited by Yedda to answer this question.

Rated as
#2 out of 2
0
0

Helpful?

line
line
line



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).

Explore Related Posts in Forums

351441] php-pear-symfony - Open-Source PHP Web Framework

438806] php-pear-HTTP-Header - OO interface to modify and handle HTTP head...

337801] php-pear-pake - PHP5 project builder system

266841] php-pear-Propel - An Object Relational Mapping (ORM) framework for...

Pear Shaped PEAR

is there any CVS PHP handling package? PEAR or... whatever?

Apache PHP problem

List of Apache/MySQL/PHP automatic installation package's for Windows/Linux...

Apache PHP problem

Powered by
Feed - Subscribe to changes to this Q&A Blog
Copyright © 2006-2008, Yedda Inc. and respective copyright owners · CC License