View previous topic :: View next topic |
Author |
Message |
scubed Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/166319510243c80b29e621b.png)
Joined: 06 Jun 2003 Posts: 122
|
Posted: Mon Jul 09, 2007 1:27 pm Post subject: [Solved] Apache 2 can't load PHP 5 |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
scubed Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/166319510243c80b29e621b.png)
Joined: 06 Jun 2003 Posts: 122
|
Posted: Mon Jul 09, 2007 1:55 pm Post subject: Nevermind |
|
|
Nevermind, I found the problem.
My libdb was too old.
fixed the problem and made Apache 2 run with PHP 5. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|