content-type, php 5.2 install problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I attempted to install php 5.2 in Apache2. The LoadModule and AddType have been added to the httpd.conf. Virtual hosts are enabled.

PHP4 was working with this server. Pages ending with ".php" are not being handled, but are sent with content-type application-x/httpd-php. The server headers seem to say that PHP is installed?

200 OK
Date: Fri, 10 Nov 2006 20:46:22 GMT
Server: Apache/2.0.58 (Unix) mod_ssl/2.0.58 OpenSSL/0.9.7d PHP/5.2.0
Last-Modified: Fri, 10 Nov 2006 20:40:47 GMT
ETag: "c1d9-1ea-911551c0"
Accept-Ranges: bytes
Content-Length: 490
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: application/x-httpd-php
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
 <meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
 <title>Info</title>
<link rel="stylesheet" href="http://www.w3c.org/StyleSheets/Core/UltraMarine.css"; type="
text/css" >
 <!-- link rel="stylesheet" href="Swiss.css" type="text/css" -->
 <style type="text/css">
  H1, H2 { text-align: center }
 </style>
</head>
<body>
<? phpinfo(); ?>

</body>
</html>

_________________________________________________________________
Try Search Survival Kits: Fix up your home and better handle your cash with Live Search! http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline
[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux