Jump to content

Recommended Posts

I am running Apache2.2 on Windows XP and I just installed php5. 

 

I added these lines the the Apache config file:

 

PHPIniDir "C:/php/"

LoadModule php5_module "C:/php/php5apache2_2.dll"

AddType application/x-httpd-php .php

 

I uncommented the MySQL extension and added this to php.ini:

doc_root ="C:\Apache2.2\htdocs"

 

I made a file that simply runs the phpinfo() function to test whether or not the installation was

successful and all that came up was a blank screen.  I looked on the internet for common installation issues thinking php was not working, but then I made a few other test scripts that worked:

 

<?php

$x=1;

$x=$x+3;

print "$x is what x is equal to";

?>

 

<?php

print "HEllo world";

?>

 

My question is why would there be a blank screen for phpinfo().  I also get a blank screen when I make calls to session variables, even when there is html following the offending php. I am not totally sure if this is the correct forum since PHP is technically installed.  But I thought maybe I installed or configured something incorrectly?  I appreciate any help in advance. 

 

 

Link to comment
https://forums.phpfreaks.com/topic/56486-php-configuration-issue/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.