Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Test will not work

Status
Not open for further replies.

teknoguy

Technical User
Feb 1, 2001
182
CA
I am using a WinXP system. I installed Apache and got it working. I also installed PHP for windows, from a MSI package. I followed step by step from a website. After creating a test file called phpinfo.php,which has this in the file:

<? phpinfo() ?>

It should output my system information but all i get is a blank screen. Here is the info from my httpd.conf file:

ScriptAlias /cgi-bin/ &quot;C:/Program Files/Apache Group/Apache2/cgi-bin/&quot;
ScriptAlias /php/ &quot;C:/php/&quot;


AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
AddType application/x-tar .tgz
AddType image/x-icon .ico
AddType application/x-httpd-php .php


Action application/x-httpd-php &quot;/php/php.exe&quot;

here is the website i got the setup procedures from.

any help would be great
 
One thing to check is that you have &quot;short tags&quot; set in your php.ini file ..... try with <?php phpinfo() ?>

Good Luck,
Laurie.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top