Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-05-2004, 10:18 AM
|
#1
|
Member
Registered: Jan 2004
Location: Berne, Switzerland
Distribution: FC4, Gentoo
Posts: 112
Rep:
|
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?
Last edited by nyk; 10-05-2004 at 06:09 PM.
|
|
|
10-05-2004, 05:31 PM
|
#2
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
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."
|
|
|
10-05-2004, 06:24 PM
|
#3
|
Member
Registered: Jan 2004
Location: Berne, Switzerland
Distribution: FC4, Gentoo
Posts: 112
Original Poster
Rep:
|
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...)
|
|
|
10-05-2004, 06:31 PM
|
#4
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
Out of curiousity - what will happen to your /etc/conf.d/apache2 file when you your next update?
|
|
|
10-06-2004, 03:51 AM
|
#5
|
Member
Registered: Jan 2004
Location: Berne, Switzerland
Distribution: FC4, Gentoo
Posts: 112
Original Poster
Rep:
|
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 04:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|