/    Sign up×
Community /Pin to ProfileBookmark

installation issues PEAR

first of all I am running IIS and It seem I cant get the PEAR extension to work 😡

I am trying to use there mime mailer Mail/mime.php and Mail.php

in my php.ini file I have the following

[QUOTE]

; UNIX: “/path1:/path2”
;include_path = “.:/php/includes”
;
; Windows: “path1;path2”

include_path = “.;C:phpPEAR”

[/QUOTE]

I get this error:

[QUOTE]

Warning: require_once(Mail.php) [function.require-once]: failed to open stream: No such file or directory in C:Inetpubwwwrootwediastreamincemail_fun.php on line 3

Fatal error: require_once() [function.require]: Failed opening required ‘Mail.php’ (include_path=’.;C:phpPEAR’) in C:Inetpubwwwrootwediastreamincemail_fun.php on line 3

[/QUOTE]

if I put the mail.php in the root it tells me this:

[QUOTE]

Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in C:phpPEARMail.php on line 21

Fatal error: require_once() [function.require]: Failed opening required ‘PEAR.php’ (include_path=’.;C:phpPEAR’) in C:phpPEARMail.php on line 21

[/QUOTE]

I cant locate pear.php
in the pear root folder I have:

[QUOTE]

go-pear.phar
Mail.php
Mail(folder)

[/QUOTE]

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@NatdripauthorAug 26.2008 — it turns out that in the root php there is a pear.bat file

now I got it working thanks

:eek: ? :p
×

Success!

Help @Natdrip spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.27,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...