PEAR problems now...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ccrevling
Forum Newbie
Posts: 19
Joined: Mon Aug 06, 2007 1:34 pm

PEAR problems now...

Post by ccrevling »

Ok so i had a post that said i am having problems with the gd. I fixed that but now Pear isnt working... How can i fix this?
Here is the error:
Warning: include() [function.include]: Failed opening '' for inclusion (include_path='.;C:\php5\pear') in D:\Sites\nndental\New\default.php on line 291

and my site is basically all includes so i need Pear to work right? How can i address this someone help
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PEAR problems now...

Post by Christopher »

It says it is looking for PEAR in '.' (the current directory) and 'C:\php5\pear'. Is PEAR in either of those places?
(#10850)
ccrevling
Forum Newbie
Posts: 19
Joined: Mon Aug 06, 2007 1:34 pm

Re: PEAR problems now...

Post by ccrevling »

well i guess that i cant find it on the server now... damn server tech ill just do it myself. But im at the pear site and i dont know what package to download. Where do i go?

ok well i found it... here
http://pear.php.net/go-pear

then i installed it. No good it still doesnt work.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PEAR problems now...

Post by Christopher »

What package do you want? There is a list of them there. Also, remember that you need to check if the package you want has dependencies and download all of them too.
(#10850)
ccrevling
Forum Newbie
Posts: 19
Joined: Mon Aug 06, 2007 1:34 pm

Re: PEAR problems now...

Post by ccrevling »

well i dont know what package to get.. I need one that will let me use the include(); function... and thats it. what one do i install for that?
ccrevling
Forum Newbie
Posts: 19
Joined: Mon Aug 06, 2007 1:34 pm

Re: PEAR problems now...

Post by ccrevling »

HAHAHAHAHAHAHAHA nvm hella dumb of me. im not even going to say what was wrong with it. lets just say i fixed it and nothing i said was the problem. But ne way what are some good packages that i should get?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PEAR problems now...

Post by Christopher »

I would generally not recommend PEAR, although it has some good classes. I think many people here like ADODb for database. You might also look at the Zend Framework because you can use many of the components separately.
(#10850)
Post Reply