Monday, April 30, 2012

PHP: Configure on Windows 7 & IIS


After configuring PHP to work on my machine, it was time to write the sample code to test if the .php page can be browsed. Now was the time to call the phpinfo() function to display the results. The phpinfo() function outputs a large amount of server information like;
  • PHP compilation options and extensions
  • PHP Version
  • PHP environment
  • OS version information
  • HTTP headers
  • PHP license
  • Various variable configuration settings
Snippet: phpinfo.php (file name can be changed);


phpinfo();
?>

References:

1.       Download:
2.       Configuration:
3.       phpInfo():

1 comment:

Please leave your comments here...