php not executed, mime type problem?
| From: | Zavier Sheran | Date: | Mon, 03 Feb 2003 17:14:59 +0000 |
| Subject: | php not executed, mime type problem? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9928@lists.php.net to get a copy of this message | ||
I installed PHP 4.3.0 and Apache 1.3.27 on XP Pro.
When I try to access a .php file with the browser, it offers it for
download.
Yep, I have this in my httpd.conf:
LoadModule php4_module C:\PHP\sapi\php4apache.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
I browsed the archives and this issue seems common and goes back for years
on Linux/Windows and a variety of php 4.x and apache 1.3.x and 2.x versions.
Nobody, in this time period of years, came up with a solution that solved
the problem of the poster.
I spent the last hours trying to get it work to no avail. I had it working 2
years ago on a Win 2K machine. Now this...
Does anybody actually know what wrong (Rasmus??)? It's all setup according
to manual and double and quadruple checked.
All's fine when I execute on the command prompt. I can access al .html and
.jpg .gif files via browser.