Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache\libphp5.so: undefined symbol: ap_unixd_config[solved]
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
jms.gentoo
n00b
n00b


Joined: 07 May 2009
Posts: 69

PostPosted: Tue Mar 05, 2013 7:25 pm    Post subject: apache\libphp5.so: undefined symbol: ap_unixd_config[solved] Reply with quote

when starting apache
Code:

/etc/init.d/apache2 restart
 * apache2 has detected an error in your setup:
apache2: Syntax error on line 155 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: undefined symbol: ap_unixd_config
 * ERROR: apache2 failed to start


just recompile php

I believe this is due to update of apache-tools to apache-tools-2.2.24
renaming of unixd_config to ap_unixd_config.
Back to top
View user's profile Send private message
grimm26
Guru
Guru


Joined: 23 May 2004
Posts: 313
Location: Chicagoland, IL

PostPosted: Fri Mar 08, 2013 3:13 am    Post subject: Reply with quote

You also need to make sure that you compile apache 2.4 with module unixd.
_________________
"Blessed is he who finds happiness in his own foolishness, for he will always be happy".
Back to top
View user's profile Send private message
guid0
Guru
Guru


Joined: 06 Jul 2003
Posts: 311
Location: The Netherlands / Nederland

PostPosted: Sat Mar 12, 2016 7:10 am    Post subject: Reply with quote

I had an old file installed in /etc/apache2/modules.d/ and was still using -PHP5 in /etc/conf.d/apache2 which i did not know until i triggered another eselect.

Code:
!!! Warning: The apache2 configuration has changed in this
!!! Warning: version of eselect-php. You should define "-D PHP"
!!! Warning: and not "-D PHP5" for apache. The module is now
!!! Warning: loaded by 70_mod_php.conf (was 70_mod_php5.conf).
!!! Warning: After you have changed "-D PHP5" to "-D PHP",
!!! Warning: you should remove 70_mod_php5.conf to eliminate
!!! Warning: this warning. Until you have done so, your eselect
!!! Warning: choices for apache2 will have no effect.


which fixed it for me.
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