Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] PHP not using/finding Pear packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Cyberwizzard
Apprentice
Apprentice


Joined: 02 Apr 2004
Posts: 244
Location: Norway

PostPosted: Mon Aug 06, 2007 1:16 pm    Post subject: [SOLVED] PHP not using/finding Pear packages Reply with quote

Hi,

I'm running Lighttpd and PHP 5.2.2. I just emerged PEAR and PEAR-DB but for some reason I keep getting:
Code:
DB Error: extension not found

in the script I'm trying to run (both in Lighttpd and cli).

I tried installing DB using the pear tool but that didn't work either. I checked the PHP include path and it included /usr/share/php (which is where the packages go I believe).

So whats going on? How can I find out why PHP claims that it doesn't have PEAR::DB....

Thanks


Last edited by Cyberwizzard on Mon Aug 06, 2007 7:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cyberwizzard
Apprentice
Apprentice


Joined: 02 Apr 2004
Posts: 244
Location: Norway

PostPosted: Mon Aug 06, 2007 7:28 pm    Post subject: Reply with quote

I found out what was wrong... the error was not that it didn't load DB properly but rather it couldn't load MySQL properly.... so I fixed that and now its sorted :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum