futuresounds Posted February 25, 2008 Share Posted February 25, 2008 I have a Windows 2003 Server with IIS6 and SP2. I installed PHP 5.2 from the zip. I followed the directions to a T and still getting errors. My page will display the actually script or code in the page instead of the HTML like it is supposed to. I also have MySQL 5.0 installed and not configured. I would love some pointers. I am trying to get a webdirectory installed on my PC called indexu. Here are some details. This is the page that is getting errors: http://www.futuresoundsstudios.com/links-directory/install/install.php This is the page that is stating it works, I'm confused: http://www.futuresoundsstudios.com/links-directory/install/test.php Any help would be great. Please let me know. Best Regards, Russell Moran Quote Link to comment Share on other sites More sharing options...
GameYin Posted February 25, 2008 Share Posted February 25, 2008 The page getting errors, all I see is a whole crap load of PHP code. Did you start the <?php tag? Quote Link to comment Share on other sites More sharing options...
futuresounds Posted February 25, 2008 Author Share Posted February 25, 2008 GameYin, I am having a hard time replying, it tells me 403 error I must be logged in. I am logged in and now am on another PC. You can view the source I have, it's correct according to the author. Also, I attached the .PHP file on the first post. I can't insert it here as I'm on another PC. I will try later, until then, any suggestions? Russell Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted February 25, 2008 Share Posted February 25, 2008 The code that does not work is using short open php tags <? (and probably <?= ) instead of correct full open php tags <?php (and <?php echo ) If you do a "View source" in your browser you will see them. If you have access to the server to do so, you could turn on short open tags, but there is always a risk that on the next server you use you won't have the ability to change the setting. No script that is intended to be distributed should use short open tags. I recommend going through the files and change any <? to <?php and <?= to <?php echo Quote Link to comment Share on other sites More sharing options...
futuresounds Posted February 25, 2008 Author Share Posted February 25, 2008 You are right...it's my server and I have access to make the change, so I did and bingo...worked like a champ. Now here's my situation: PHP 4.3.10 ... Installed (current version: 5.2.5) PHP module MySQL is Not Installed PHP module ZLib is Installed PHP module Curl is Not Installed PHP module GD is Not Installed PHP module XML is Installed Go to the next screen and: ALL the files are "writeable" Go to the database setup and I'm LOST!!! INDEXU 5.4.0 -------------------------------------------------------------------------------- File Configuration -------------------------------------------------------------------------------- Database Configuration Username Password Host Database Name URL and Path Website URL (ends without /) Base Path (ends with /) Website Website Name -------------------------------------------------------------------------------- Nicecoder PHP Script Installer Any help? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.