PHP Manager 2.0 also contains some similar diagnostics.
Lex Li
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
Lex Li
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
The jexus Manager was installed on my Web Server and did not detect iis
To manage full IIS on a Windows Server, please run Jexus Manager as administrator.
Lex Li
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
IMPORTANT: This report might contain confidential information. Mask such before sharing to others.
-----
System Time: 2/12/2019 17:22:49
Processor Architecture: AMD64
OS: Microsoft Windows NT 6.3.9600.0
Server Type: IIS
Scan 43 installed module(s).
FastCGI module is installed.
Scan 91 registered handler(s).
* Found an invalid FastCGI handler as { PHP_via_FastCGI, Path: *.php, State: Enabled, Handler: FastCgiModule, Entry Type: Local }.
* Found an invalid FastCGI handler as { PHP53_via_FastCGI, Path: *.php, State: Enabled, Handler: FastCgiModule, Entry Type: Local }.
No valid FastCGI handler is registered for this web site.
That's the problem. To fix that, follow the advice,
Lex Li
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
Yeah, that's why I developed the feature in Jexus Manager. :)
Lex Li
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
13 Posts
PHP 500 Internal Server ERROR
Feb 12, 2019 03:47 AM|trgrassijr69|LINK
Web Farm
Windows 2012 R2 Servers
IIS 8.5
Kemp Load Balancer for External Access and NLB Balancer Setup for internal access
All working great with my HTTP and ASP sites.
I am trying to build a few PHP pages
I was getting a "PHP Error 405 verb used to access this page not allowed"
Then I was told to upgrade my PHP from 5.6 to 7.2
So I removed PHP from my IIS
Then installed PHP 7.2
After several days of frustrating attempts I am now getting this
Server Error
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
created a small test.php
<?php
phpinfo();
?>
https://www.tgcsnet.com/test.php
you can try this and see
this happens internally and externally
I installed PHP Manager for IIS v 1.5.0 it works but when I try for PHPinfo from the PHP Manager I get this error
There was an error while performing this operation
Details
PHP is not registered via FASTCGI hence there is no FastCGI handler defined
I can run php -info it shows all info about php
I can run php - m it shows all modules
just can not browse the page
What else to check?
Thanks
8959 Posts
MVP
Re: PHP 500 Internal Server ERROR
Feb 12, 2019 05:15 AM|lextm|LINK
Run PHP Diagnostics, and it should report obvious issues,
https://docs.jexusmanager.com/tutorials/php-diagnostics.html
PHP Manager 2.0 also contains some similar diagnostics.
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
13 Posts
Re: PHP 500 Internal Server ERROR
Feb 12, 2019 06:03 AM|trgrassijr69|LINK
Thanks for the reply
I will upgrade the PHP Manager to 2.0 I do not see diagnostics on 1.5
Also I can not find the powershell commandlets
where do I find the phpmanagersnapin
Thanks
8959 Posts
MVP
Re: PHP 500 Internal Server ERROR
Feb 12, 2019 06:07 PM|lextm|LINK
That's a known issue, https://github.com/phpmanager/phpmanager/issues/29 You can apply the workaround.
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
13 Posts
Re: PHP 500 Internal Server ERROR
Feb 12, 2019 07:51 PM|trgrassijr69|LINK
lextm
That helped I now can run PNP power shell commands
In your first post you said run diagnostics? How do I do that?
Thank you,
Tom
13 Posts
Re: PHP 500 Internal Server ERROR
Feb 12, 2019 08:35 PM|trgrassijr69|LINK
The jexus Manager was installed on my Web Server and did not detect iis
I installed it on my desktop and it found my IIS Windows 10 computer
So how else can I run diagnostics?
The HTTP 500 Server Error still occurs.
8959 Posts
MVP
Re: PHP 500 Internal Server ERROR
Feb 12, 2019 10:19 PM|lextm|LINK
To manage full IIS on a Windows Server, please run Jexus Manager as administrator.
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
13 Posts
Re: PHP 500 Internal Server ERROR
Feb 12, 2019 10:24 PM|trgrassijr69|LINK
That worked
here is the diag.
IMPORTANT: This report might contain confidential information. Mask such before sharing to others.
-----
System Time: 2/12/2019 17:22:49
Processor Architecture: AMD64
OS: Microsoft Windows NT 6.3.9600.0
Server Type: IIS
Scan 43 installed module(s).
FastCGI module is installed.
Scan 91 registered handler(s).
* Found an invalid FastCGI handler as { PHP_via_FastCGI, Path: *.php, State: Enabled, Handler: FastCgiModule, Entry Type: Local }.
* Found an invalid FastCGI handler as { PHP53_via_FastCGI, Path: *.php, State: Enabled, Handler: FastCgiModule, Entry Type: Local }.
No valid FastCGI handler is registered for this web site.
* To run PHP on IIS, please refer to https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/configuring-step-1-install-iis-and-php#13-download-and-install-php-manually for more details.
* To run Python on IIS, please refer to https://pypi.org/project/wfastcgi/ or use HttpPlatformHandler https://docs.microsoft.com/en-us/iis/extensions/httpplatformhandler/httpplatformhandler-configuration-reference.
Whats wrong?
8959 Posts
MVP
Re: PHP 500 Internal Server ERROR
Feb 13, 2019 03:36 AM|lextm|LINK
That's the problem. To fix that, follow the advice,
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
13 Posts
Re: PHP 500 Internal Server ERROR
Feb 13, 2019 03:52 AM|trgrassijr69|LINK
I got it working now.
On my default web site I removed the fast CGI settings from the handler Mappings.
The registered PHP again.
Now working fine
Off to my PHP coding now.
Thanks for all your help
8959 Posts
MVP
Re: PHP 500 Internal Server ERROR
Feb 13, 2019 06:27 PM|lextm|LINK
Yeah, that's why I developed the feature in Jexus Manager. :)
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.