Jump to content

Phpinfo not running in webpage


Recommended Posts

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.

 

 

Link to comment
https://forums.phpfreaks.com/topic/285429-phpinfo-not-running-in-webpage/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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