PDA

View Full Version : All I get is text


jeff.roller@westhartford.
03-14-2008, 04:19 PM
After I install PHP (according to php.net manual install instructions) and Zend, all I get is text when I go to http://my.webserver.com/tester/index.php:

<?php
// TEST SESSIONS
session_start();

$sessionTest = $_SESSION['sessionTest'];
//$sessionTest = "x"; ////////////////////////////////////////////////////////////////////////////////////
if ($sessionTest!="1234567890") {

if ($_REQUEST[st]=="x") {
$sesTest = "Fail";
$sessionsColor = "red";
}
else {
... etc.

Brian
03-14-2008, 06:53 PM
Your server isn't parsing PHP (it isn't set up properly).

Is this on your own computer?

If so, you may want to Google WAMP (if you're using Windows) or LAMP (for Linux).

jeff.roller@westhartford.
03-17-2008, 03:42 PM
Thanks. I found this site helpful for IIS setup:
http://www.wegotserved.co.uk/2008/03/04/installing-php-for-iis-on-windows-home-server/
... except to change step 16 from "php5isapi.dll" to "php.exe". I got several 0x8001010e errors on ASP pages using "php5isapi.dll".