Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache upgrade to 2.4 and php
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
ardin
n00b
n00b


Joined: 17 Apr 2012
Posts: 2

PostPosted: Tue Apr 17, 2012 10:24 pm    Post subject: apache upgrade to 2.4 and php Reply with quote

Hi,

I'm new in gentoo world :-) and I would like upgrade apache from 2.2.22 to 2.4.1-r2 version with php.

Generally there is no problem, because after emerge apache and compile php (for mod_php) everything works fine.

But..

Is there any way to compile both in the same time with --bulidpkgonly? If I trying , I have error:

Code:
# emerge --buildpkgonly =apache-2.4.1-r2 php

!!! --buildpkgonly requires all dependencies to be merged.
!!! Cannot merge requested packages. Merge deps and try again.


If I don't recompile php there is another error:

Code:
# /etc/init.d/apache2 start
 * apache2 has detected an error in your setup:
apache2: Syntax error on line 163 of /etc/apache2/httpd.conf: Syntax error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: undefined symbol: ap_log_rerror
 * ERROR: apache2 failed to start


Any idea?
Regards, Tom
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Fri Apr 20, 2012 4:51 am    Post subject: Reply with quote

I'd be curious to see if "emerge -pv <packagename>" shows any other dependencies that will be pulled in along with apache and php; if so, you must include those as well
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
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