For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > November 2006 > content-type, php 5.2 install problem.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author content-type, php 5.2 install problem.
Benjamin White

2006-11-10, 6:57 pm

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/sear...ource=hmtagline
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com