RE: [PHP-INST] php not executed, mime type problem?
| From: | Boutelle, Jonathan | Date: | Mon, 03 Feb 2003 18:50:05 +0000 |
| Subject: | RE: [PHP-INST] php not executed, mime type problem? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9931@lists.php.net to get a copy of this message | ||
I have the same problem.
I'm running Win2k, with the same versions of Apache and PHP as Zavier.
This only happened when I tried to install php as a module: when I tried to
install as cgi it worked fine.
Jonathan Boutelle
Software Engineer
XML Platform
Commerce One
925 - 520 - 4406
-----Original Message-----
From: Zavier Sheran [mailto:zavier@zavier.net]
Sent: Monday, February 03, 2003 9:15 AM
To: php-install@lists.php.net
Subject: [PHP-INST] php not executed, mime type problem?
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.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php