Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php update to 5.3.4 - Cannot load /usr/lib64/apache2/modules
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1240
Location: indiana

PostPosted: Sun Jan 02, 2011 2:31 pm    Post subject: php update to 5.3.4 - Cannot load /usr/lib64/apache2/modules Reply with quote

hi,

after updating php, apache complains about missing files :
Code:
# ./apache2 restart
 * Caching service dependencies ...
 * apache2 has detected an error in your setup:
apache2: Syntax error on line 174 of /etc/apache2/httpd.conf: Syntax error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load /usr/lib64/apache2/modules/libphp5.so into server: /usr/lib64/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory


i tried to rebuild apache and also tried revdep-rebuild but it still does not work .. any suggestions ??

wfr
_________________
I do not have a Superman complex, for I am God not Superman :D
Back to top
View user's profile Send private message
VoidMage
Advocate
Advocate


Joined: 14 Oct 2006
Posts: 4060

PostPosted: Sun Jan 02, 2011 5:35 pm    Post subject: Reply with quote

'eselect php' and you can figure out from there.
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1240
Location: indiana

PostPosted: Sun Jan 02, 2011 6:20 pm    Post subject: Reply with quote

Code:
# eselect set php apache2
!!! Error: Can't load module set
exiting


could you please tell me the proper syntax ? thx
_________________
I do not have a Superman complex, for I am God not Superman :D
Back to top
View user's profile Send private message
toralf
Advocate
Advocate


Joined: 01 Feb 2004
Posts: 2107
Location: Hamburg/Germany

PostPosted: Sun Jan 02, 2011 7:08 pm    Post subject: Reply with quote

Code:
 eselect php list apache2
see https://bugs.gentoo.org/show_bug.cgi?id=349173
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1240
Location: indiana

PostPosted: Sun Jan 02, 2011 7:27 pm    Post subject: Reply with quote

thank you very much. "eselect php set apache2 php5.3" fixed the error mentioned above for me ...
_________________
I do not have a Superman complex, for I am God not Superman :D
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Wed Jan 05, 2011 10:43 pm    Post subject: Reply with quote

Mgiese wrote:
thank you very much. "eselect php set apache2 php5.3" fixed the error mentioned above for me ...


Yup! Thank you too. :D

Happy New Year!

Kind regards,
orange_juice
Back to top
View user's profile Send private message
dahoste
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2005
Posts: 135
Location: Maryland, USA

PostPosted: Thu Jan 06, 2011 5:00 pm    Post subject: Reply with quote

Please add [SOLVED] to the title. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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