Jump to content

[SOLVED] Acting Up


LegosJedi

Recommended Posts

My Apache Web Server is acting up. It tries to make me download my .php files (I have correctly installed PHP), and it won't open regular HTML pages. And idea as to what might be wrong?

 

Oh, by the way, I'm using Apache 2.2.4 (I think), and PHP 5.2.0 (I think). And It's not a problem with compatability, cause it was working before.

Link to comment
https://forums.phpfreaks.com/topic/44507-solved-acting-up/
Share on other sites

  • 2 weeks later...

Did you let PHP configure your apache file? Sounds like you might be missing the AddType entry for php. That line looks like this:

 

AddType application/x-httpd-php .php

 

Usually this tells the server (in addition to the module and PHPIniDir and other configs) to use PHP to execute a .php file. You will have to explain the "not opening regular HTML pages." Is there an error associated with accessing them?

 

Link to comment
https://forums.phpfreaks.com/topic/44507-solved-acting-up/#findComment-221651
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.