• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

php trouble

Nismo83

OSNN AZN Addict
#1
i've installed the phptriad 2.11 and everything config went smoothly but when i execute the script... lets say this

<?php

$myvar = "Hello World";

echo $myvar;

?>

the output should be Hello World but it gave me

HTTP/1.1 500 Server Error Server: Microsoft-IIS/5.1 Date: Tue, 02 Sep 2003 06:49:32 GMT Content-Type: text/html Content-Length: 44 -2147417842 (0x8001010e)

What happen here?
 
#2
Haha, IIS 5.1. :p Have you registered the PHP plugin proberly in IIS? (Start -> Programs -> Administrative Tools -> Internet Services Manager. Expand the websites at your computer and rightclick 'Default Website' or whatever name you gave to your site. Choose properties and click Home Directory -> Configuration. Is PHP in the list? If not, click add. Now browse to the executable, (usually C:\php\php.exe) and add the extension (.php), now click ok. I don't know if you need to restart the computer, but to be on the safe side, do so).
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,017
Latest member
bettyicrewsi