Installation Issues Under IIS
Box Specs:
Server 2003
IIS 6
PHP & MySQL 5
I have been using this box for quite a while to host a few sites that have basic PHP apps (iCalendar for example), and I've never had any problems. However, when I go to the installer for Advokit, the screen has what appears to be php code displayed on the buttons (for example, the button that should say "Install Advokit, deleting any existing installation" says "Install <?app_name_short?>, deleting any existing installation"). Clicking on the button then takes me to the next page, but that page has no buttons, and has similar php code in the text boxes where you set the db name, user, pass, etc.
The directory for this site has scripts and executables permissions, and the actual directory with the files has full control for everyone. Any help would be great!
Not seeing it as php
I think that is the case...it isn't seeing the page as php or treating the code properly. The code is rendered and displayed as regular html within the page source. Here is a clip of the buttons on the first page:
<?
if( file_exists( ".".DIRSEP."README.txt" ) )
{
?>
<p>
You might want to read the <a href="README.txt">README</a> file.
</p>
<?
}
?>
<p>
You are about to install <b><?=$app_name_long?></b>, version
<b><?=$version?></b>.
<?
if( $upgrade_option )
{
?>
You can upgrade to this version directly from previous versions.
<?
}
?>
</p>
<p>
Before you install <?=$app_name?>, you must install the following:
This is weird, because I put up a few other sites last night that depend heavily on PHP, and everything works out fine on them. Any ideas?
(HTML reformatted so we can see what you're talking about - by patdunlavey, site admin)
browscap.ini
Did you install a browscap.ini file in your extras directory (C:\PHP\extras\browscap.ini, for example, and then change the browscap variable in php.ini to be the full path to the file [browscap=C:\PHP\extras\browscap.ini])?
It can be downloaded here: http://browsers.garykeith.com/downloads.asp
I'm not sure if this is the problem, but whenever I've had trouble running scripts on IIS it was because I didn't install/configure that file. It basically utilizes the browser identification functions in PHP. Many scripts depend on this to function properly.
Thanks for the browsecap
Thanks for the browsecap suggestion. I had previously installed a browsecap and changed php.ini. I tried the one suggested, but it didn't take care of my problem. I really want to get this up and running, so I'll keep trying things :)
I double checked the php.ini
I double checked the php.ini file, and everything is set correctly. Same result however. Any other thoughts?
hmmm
FYI, I really am a Linux/UNIX geek, but I started out in Windows land a long time ago. So I haven't played with IIS seriously since NT 4.0!
Do you have the entire unzipped advokit-installer directory under your web root directory? I am just wondering if all of the installer files are present. What is the name of the tarball that you downloaded?
Have you considered installing Apache (WAMP)? :-P
I canned the entire download
I canned the entire download that I had done earlier, and started over fresh (clean install of PHP, Advokit, new directory under IIS). Same results. I think I'll give apache a whirl on one of my test boxes tomorrow, and see if I have better results. I'll let you know what happens! Thanks for all the help so far!

Seems like it's not seeing the file as PHP
or recognizing the PHP tags. Even weirder, your browser should not display anything inside "<" and ">" characters unless they have been escaped (as I did to make them appear here). I wonder if you could view the page source in your browser and clip out and show us the html around the "app_name_short" string?