Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Apache 2 can't load PHP 5
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
scubed
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2003
Posts: 122

PostPosted: Mon Jul 09, 2007 1:27 pm    Post subject: [Solved] Apache 2 can't load PHP 5 Reply with quote

When starting Apache with -DPHP5,
I get this error message:

Code:

Syntax error on line 5 of /etc/apache2/modules/conf/modules.d/70_mod_php5.conf:
Cannot load /etc/apache2/modules/modules/libphp5.so into server: /etc/apache2/modules/modules/libphp5.so: undefined symbol: db_create


What causes this? I tried adding
Code:
LoadFile /usr/lib/libdb.so

to make it have the function, but that doesn't seem to work either.
Which library is it supposed to have?
Why isn't libphp5 linked to that library to begin with?
How do I get PHP5 working?


Last edited by scubed on Mon Jul 09, 2007 1:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
scubed
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2003
Posts: 122

PostPosted: Mon Jul 09, 2007 1:55 pm    Post subject: Nevermind Reply with quote

Nevermind, I found the problem.
My libdb was too old.

Code:
emerge sys-libs/db


fixed the problem and made Apache 2 run with PHP 5.
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