LinHES Forums http://forums.linhes.org/ |
|
Apache/PHP broken http://forums.linhes.org/viewtopic.php?f=5&t=11099 |
Page 1 of 1 |
Author: | averyml [ Tue Aug 08, 2006 1:49 am ] |
Post subject: | Apache/PHP broken |
Apparently, I broke my Apache/PHP setup. I was trying to get myxer configurator working via these directions, and now when i try to load any php based page from my server (not only the configurator page, but also my previously working mythweb page), the browser tries to download the the file instead of parsing it and displaying it in the browser. Can someone tell me how to reverse the damage I did? |
Author: | mac [ Tue Aug 08, 2006 6:32 am ] |
Post subject: | |
the first thing I would try would be to copy a stock knoppmyth apache config back into place. |
Author: | averyml [ Tue Aug 08, 2006 7:43 pm ] |
Post subject: | |
unfortunately, that was the first thing I tried, and it still didn't work:-/ |
Author: | chrisj [ Wed Aug 09, 2006 5:56 am ] |
Post subject: | |
If you get offered a download then its probaly just a missing type in apache Restore your apache from the knoppmyth disk then make sure your /etc/apache/httpd.conf contains the following Code: AddType application/x-httpd-php .php AddType application/x-httpd-php .xml and your /etc/apache/modules.conf Code: LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
you may need to replace the modules in the /usr/lib/apache/1.3 as well |
Author: | averyml [ Wed Aug 09, 2006 10:03 am ] |
Post subject: | |
I didn't actually have the "AddType application/x-httpd-php .xml" in my httpd.conf file, but adding it didn't change anything. Everything else is where you said it should be. I really don't want to have to reinstall the whole system to get this to work:? any other suggestions?[/code][/quote] |
Author: | averyml [ Wed Aug 09, 2006 10:04 am ] |
Post subject: | |
I didn't actually have the "AddType application/x-httpd-php .xml" in my httpd.conf file, but adding it didn't change anything. Everything else is where you said it should be. I really don't want to have to reinstall the whole system to get this to work:? any other suggestions? |
Author: | averyml [ Wed Aug 09, 2006 10:05 am ] |
Post subject: | |
huh...I always wondered how people ended up posting two identical posts...I guess now I know. Sorry about that. |
Author: | khrusher [ Wed Aug 09, 2006 10:17 am ] |
Post subject: | |
you can click the X and delete one, if you are the poster |
Author: | averyml [ Thu Aug 10, 2006 9:13 pm ] |
Post subject: | |
x?? i don't see an x button anywhere... |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |