# PEAR installed but not working

**URL:** https://forum.kirupa.com/t/pear-installed-but-not-working/216389
**Category:** Uncategorized
**Created:** [February 16, 2007, 2:11am UTC](https://forum.kirupa.com/t/pear-installed-but-not-working/216389 "2007-02-16T02:11:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![DHDesign](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@DHDesign](https://forum.kirupa.com/u/DHDesign)
#### Post date: [February 16, 2007, 2:11am UTC](https://forum.kirupa.com/t/pear-installed-but-not-working/216389/1 "2007-02-16T02:11:36Z")

</div>

i checked the server and pear is definitely installed…at command line, typing

pear list

brings up all the installed packages.

Now, I also checked the include\_path of the php.ini file and its set to .:/usr/share/pear  
But when I put into my code:

```auto

require('Mail.php');

```

the script wont even run and doesn’t produce anything.  
it works correctly on another server, so i know there is nothing wrong with the code for sending email with PEAR, but its that ■■■■ include path that is not picking up the Mail.php file which is in the usr/share/pear/ folder that is defined in the include\_path.

Any suggestions please?  
Thanks.
