PHP doesn't work anymore
I have a gentoo server on which I installed apache2 and php with emerge.
PHP worked well in apache until I did an "emerge -u world" followed by the cursed etc-update, that somehow always **** up one or the other config file... Now I just see the php source code when I look at the page... I guess I have to load the mod_php module in apache.conf, but I have no idea what it could be called and what other things have to be added back... Can anybody help? |
nyk: could you please edit your post for content?
LQ is an international site which strives to maintain family-rated content. This helps us keep off the the various 'nanny' filters which some companies and institutions choose to implement. In other words; "No potty-mouth, please. It plinks off the librarians." |
ok, it edited... sorry!
the solution was: add APACHE2_OPTS="-D PHP4" to /etc/conf.d/apache2 (stupid not to have seen it, but got the answer in gentoo forum...) |
Out of curiousity - what will happen to your /etc/conf.d/apache2 file when you your next update?
|
If I don't make a misstake with etc-update again, it should be ok... (I will yust leave it the unchanged.)
but etc-update seems just a bit confusing to me... ok, I am new to gentoo, so I guess next time it might work.. |
All times are GMT -5. The time now is 08:04 AM. |