note 82488 deleted from install.windows.apache2 by nlopess
| From: | nlopess@php.net | Date: | Sun, 13 Apr 2008 17:49:59 +0000 |
| Subject: | note 82488 deleted from install.windows.apache2 by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138270@lists.php.net to get a copy of this message | ||
Note Submitter: stevo_molloy at hotmail dott com
----
apache 2.2.8 with php 5.2.5 on windows 2003.....
when testing your test page......and getting a 'blank page', remeber php
"short_tags" are not enabled by default...
Hence:
---------------------------------------------------------
<?phpinfo();?>
---------------------------------------------------------
needs to be:
---------------------------------------------------------
<?php phpinfo();?>
---------------------------------------------------------
Also the below info regrading modifying the Apache httpd.conf file should be modified as (EXAMPLE):
#load the sapi so that apache can use php
LoadModule php5_module "C:/Program Files/Apache Software
Foundation/Apache2.2/php5/php5apache2_2.dll"
#set the php.ini location so that you don't have to waste time guessing where it is
PHPIniDir "C:/Program Files/Apache Software Foundation/Apache2.2/php5/"
#Hook the php file extensions, notice that Addtype is NOT USED, since that's just stupid
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps