Jump to content

PHP.INI Problem?


jrstafford

Recommended Posts

I'm running Win2003 Server with IIS, PHP 5.2, and MySql 5.  PHP works in some cases, for example, I have phpMyAdmin running fine, WordPress running fine, and a few other basic sites.  However, I've tried to install other PHP applications (the case at hand being OS Commerce), where it seems the PHP code doesn't run.  I install the files, run the index.php file in the browser and get a blank white screen.  I've checked for the opening tag issue <? vs. <?php and everything is set to <?php.  I'm wondering if there is a setting in the php.ini file that I am missing??  Not sure what to do next.  Any help is appreciated!

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/47910-phpini-problem/
Share on other sites

Code sample of what I am seeing:

 

This works...

<?php

/*  $Id: index.php,v 1.1 2002/01/02 13:02:38 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions  http://www.oscommerce.com  Copyright © 2002 osCommerce Released under the GNU General Public License */ 

 

print("Hello World")

?>

 

This does NOT...

<?php

/*  $Id: index.php,v 1.1 2002/01/02 13:02:38 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions  http://www.oscommerce.com  Copyright © 2002 osCommerce

Released under the GNU General Public License */ 

 

require('includes/application.php');

$page_file = 'index.php';

$page_title = 'Welcome';

$page_contents = 'index.php';

require('templates/main_page.php');

?>

Link to comment
https://forums.phpfreaks.com/topic/47910-phpini-problem/#findComment-234144
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.