[ltp] [OT] Help re: php / Apache
Yves-Alexis Perez
linux-thinkpad@linux-thinkpad.org
Mon, 07 Apr 2008 13:36:55 +0200
On Mon, Apr 07, 2008 at 11:25:13AM +0000, Jeffrey Franc-Law wrote:
> I was adjusting the HTTP services using YAST. I was having a problem
> with not being able to find "localhost" when not attached to the
> internet. I tried to change "host" tab to set localhost as the default.
Try looking in /etc/hosts
>
> Suddenly, I lost all php function. When I hit a .php page, it asks me if
> I want to download it. I have tried EVERYTHING. Including returning all
> network settings to previous, reinstalling apache2, reinstalling php, and
> going back to yast to ensure php is enabled. The etc/sysconfig/apache2
> clearly shows php in its list of modules. Apache works otherwise. PHP
> is clearly installed, I can run scripts from the command line. Tried
> different browsers: same problem.
php mime type handler not correctly defined:
http://www.google.com/search?hl=en&safe=off&q=php+apache+config+mime&btnG=Search
Cheers,
--
Yves-Alexis