LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 10-05-2004, 10:18 AM   #1
nyk
Member
 
Registered: Jan 2004
Location: Berne, Switzerland
Distribution: FC4, Gentoo
Posts: 112

Rep: Reputation: 15
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.
 
Old 10-05-2004, 05:31 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
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."
 
Old 10-05-2004, 06:24 PM   #3
nyk
Member
 
Registered: Jan 2004
Location: Berne, Switzerland
Distribution: FC4, Gentoo
Posts: 112

Original Poster
Rep: Reputation: 15
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...)
 
Old 10-05-2004, 06:31 PM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Out of curiousity - what will happen to your /etc/conf.d/apache2 file when you your next update?
 
Old 10-06-2004, 03:51 AM   #5
nyk
Member
 
Registered: Jan 2004
Location: Berne, Switzerland
Distribution: FC4, Gentoo
Posts: 112

Original Poster
Rep: Reputation: 15
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..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
checkinstall doesn't work anymore SlackN00b Slackware 3 01-31-2006 02:20 AM
cdrom won't work anymore Smokey Slackware 7 01-29-2005 08:21 PM
xmms won't work anymore ubuntu-addict Linux - Software 4 10-26-2004 04:01 AM
Yast2 doesn't work anymore Wels Linux - Software 3 08-02-2004 06:23 AM
SSH doesn't work anymore rlina50 Linux - Networking 1 01-29-2002 07:57 PM


All times are GMT -5. The time now is 12:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration