Jump to content


Photo

Phpinfo not running in webpage


  • Please log in to reply
1 reply to this topic

#1 ksbigfoot

ksbigfoot

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 16 January 2014 - 06:30 PM

I am a newbie at this.

I am having difficulties getting phpinfo.php to show any results in my webpage.

I am trying to verify that ffmpeg is installed.

Here is the code I have:

<?php phpinfo(); ?>

 

I am on IIS7.

PHP Version => 5.5.5
I am using FastCGI in IIS7, FullPath = C:\PHP\php-cgi.exe

 

Weird thing is that if I run from DOS prompt:

C:\PHP>php e:/webdata/inetpub/default/phpinfo.php

it runs fine.

 

but when I run it through browser: IE9 or Firefox, I get a error: 

 

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

 

 



#2 Ch0cu3r

Ch0cu3r

    Advanced Member

  • Moderators
  • 2,329 posts

Posted 17 January 2014 - 06:53 AM

Something is causing the 500 internal server error. The acutall error message should be logged in the IIS servers error log.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com