• Answers
  • Web

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

Explore Related Questions

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


Q:

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 ...
Submitted by bum99   2 years ago.
  • viewed 615 times
Last answer posted 2 years ago by robertc


Q:

How can I generate logs on an Apache Server for ...

How can I generate logs on an Apache Server for specific pages on my website for the purpose of importing them into Webtrends?
Submitted by dojojpbjs   1 year ago.
  • viewed 88 times


Q:

Health benefits of pears

i want to know the complete reference of this article
Submitted by pakeeza   1 year ago.
  • viewed 554 times
Last answer posted 10 months ago by k00lit
Asked about "Benefits of Pears"



» More...

Explore Related Posts in Forums

[ubuntu] Apache Web Server - PHP Pear problem

I have installed Apache, PHP and PHP Pear. Apache works and PHP appears to work... /share/php:/usr/share/pear') in Unknown on line 0 What have I missed? ; ; UNIX: "/path1:/path2" include_path = ".:/usr/share/php:/usr/share/php/PEAR" Restart apache...

Getting PEAR to work on XAMPP (Apache/MySQL stack on Windows)

Once() [function.require]: Failed opening required 'PEAR.php' (include_path='.;\xampplite\php\pear \PEAR') in C:\xampplite\htdocs\laconica\lib\common.php on line 31 PEAR is located in C:\xampplite\php... Try adding the drive letter: include_path='.;c:\xampplite\php\pear\PEAR' also verify that PEAR.php

Problems with PEAR

Are not working, I also found out a program I use isn't working either. So I recompiled Apache/PHP making ... that pear was being installed as it is a default setting anyway and at the root commandline if you /lib/php/Reinstall/rebuild perl && rebuild apache and php will fix this problem.I'm having the exact...
» More...
Powered by
Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2009, Yedda Inc. and respective copyright owners · CC License