note 74825 deleted from install.windows.apache2 by betz
| From: | betz@php.net | Date: | Wed, 28 Nov 2007 14:21:33 +0000 |
| Subject: | note 74825 deleted from install.windows.apache2 by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-132630@lists.php.net to get a copy of this message | ||
Note Submitter: zerocredibility@hot_mail
----
PHP5 and apache2_2on a Win32 PC.
Kept getting blank screen (but could see it it with view source) with test script:
<?
phpinfo();
?>
The problem is that the above test script uses short open tags "<?" rather than long
ones "<?php" The short ones are not enabled with php.ini-recommended version but are in
the php.ini-dist version...
Either change php.ini:
short_open_tag = Off #to On to use the above script
or change the script to:
<?php
phpinfo();
?>
Easy when you know how.
This is after I checked and rechecked the httpd.conf file according to the FAQs...