LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 02-10-2005, 03:30 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 120Reputation: 120
Apache 2 Configuration in Webmin -- and PHP support


Is there any webmin module for configuring an Apache 2 server (not Apache 1.x)? Thanks. I use Debian.

I updated the Apache 2 using synaptic and now PHP support is broken. PHP files are not recognized and instead it asks for downloading them rather than interpreting them. That is the webserver is working fine, but PHP files are not being recognized.

What broke it is I think that the apache2-mpm-prefork module was removed and the worker module was installed.

Although I reinstalled the prefork module, PHP files still are not interpreted properly but appear as an unknown type (i.e. browser tries to download them as it would any unrecognized file format).

I want to know how to rectify this situation.

Thanks.

Last edited by vharishankar; 02-10-2005 at 04:19 AM.
 
Old 02-10-2005, 03:44 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
You can use the existing module by configuring it to point to the right apache2 configuration files.
 
Old 02-10-2005, 03:51 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 120Reputation: 120
Where do I find the Apache 2 config files? It's not httpd.conf is it?
 
Old 02-10-2005, 03:58 AM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 120Reputation: 120
Ok, now I loaded the Apache 2 module in webmin. Where do I configure Apache to handle PHP files. I already have PHP 4 installed. The problem is it was working fine all these days. Today I did an upgrade and now PHP support is broken.
 
Old 02-10-2005, 04:06 AM   #5
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 120Reputation: 120
It's because the program removed the apache2-mpm-prefork and installed the apache2-mpm-worker package. I think that broke the PHP thing.

I reinstalled prefork package and php4-mysql package, but it still doesn't work right.
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The PHP configuration on your server doesn't support the database type that you chose waynejkruse10 Linux - Software 1 10-05-2005 02:01 AM
Php support with apache c00l Linux - Software 4 03-02-2005 04:30 PM
Apache PHP configuration varunbihani Linux - Newbie 2 01-18-2005 02:49 AM
reinstalled apache, php, still no php support SuSE 8.2 hindenbergbaby Linux - Software 1 10-14-2003 01:42 PM
chrooting apache v2 (php, ssl, perl support) ; perl configuration markus1982 Linux - Security 3 01-26-2003 06:15 PM


All times are GMT -5. The time now is 10:52 PM.

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