All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
280 views

PHP on IIS 10 , site running slow

I have IIS 10 running on windows server 2022, wordpress website running php is setup on iis. Everything was working fine until we decided to upgrade php from 7.4 to 8.0. now the website is painfully ...
Learner's user avatar
0 votes
0 answers
454 views

How to change the value of "Configuration File (php.ini) Path"?

I have a few PHP apps running on IIS 10. I set each app the right PHP version for it, and it works correctly, and the Loaded Configuration File shows the right path for each, however, only the apps ...
pileup's user avatar
  • 229
0 votes
0 answers
19 views

Moved app to Default Application Pool with ApplicationPoolIdentity and there are permission errors

Running a PHP 8.2 app. I changed the app to use the Default Application Pool under the user ApplicationPoolIdentity instead of the previous Custom pool and custom account, but now I get: The stream ...
pileup's user avatar
  • 229
0 votes
0 answers
131 views

PHP configuration file path has no value on IIS

When I output phpinfo() it shows that PHP configuration file path has no value. It does however have a loaded configuration file path, but whenever I edit the file there nothing gets updated, so maybe ...
pileup's user avatar
  • 229
4 votes
1 answer
835 views

How to make get_current_user() return the same user as $_SERVER['AUTH_USER']?

I have a PHP app that uses LDAP for logging in. The app is served on Windows Server with IIS. In the past, I was using $_SERVER['AUTH_USER'] to get the remote Windows user that was using the app: $...
pileup's user avatar
  • 229
0 votes
1 answer
96 views

cgi/fastcgi 0% CPU and N% Memory?

I have php wordpress website hosted on IIS, have been using FastCGI, below is my fastCGI configuration Below is screenshot of task manager There are many fastCGI processes that are using 0% CPU but ...
utsav's user avatar
  • 117
0 votes
0 answers
38 views

Many enabled FastCGI modules for the same site in Handler Mappings - which one is in use?

I went to check for some issue in the test server which was configured in the past. I noticed that for that specific site in Handler Mappings, there are a lot of PHP FastCgiModules enabled. So there ...
pileup's user avatar
  • 229
0 votes
0 answers
271 views

IIS FastCGI configuration for high concurrency

I am hosting, on Windows Server 2022, a web application that makes regular ajax calls to a PHP backend. The calls themselves are quite light, just pulling and pushing data from and to a MySQL db. Over ...
resle's user avatar
  • 189
0 votes
0 answers
142 views

Blank page with 500.0 response for index.php when loging it

The page will work normally but as soon as you press login or sign-up, goes to a blank page and in element inspect you can see a 500 response from the server I've tried many different login/sign-up ...
SoapierGlobe421's user avatar
1 vote
0 answers
571 views

IIS 10 - Setting up PHP Application behind Reverse Proxy

I am currently struggling to get the right config in IIS, as I am normally using Unix servers and nginx. I have a reverse proxy (nginx) that forwards all requests to subdomain.domain.com/xxx to my IIS ...
T.Bremkes's user avatar
1 vote
2 answers
4k views

What could cause blocked requests in IIS?

I'm using IIS on Windows Server 2016 with MySQL and PHP on two almost identical servers. I've recently noticed a slowdown on one of my two servers but it happens only when my site tries to execute ...
Vincent's user avatar
  • 808
0 votes
1 answer
505 views

Why does IIS PHP not recognize PhpRedis when it exists and is added correctly?

Before you read: PHP not loading extensions does not answer my question because I do not have Apache. I have IIS. MySQL extension of PHP not working does not answer my question because the files have ...
Jamesthe1's user avatar
0 votes
0 answers
34 views

Trojan:PHP/Obfuse.AR!MSR Detection by Windows Defender [duplicate]

I have an AWS server running Windows 2016 Datacenter. From the past few days, Windows Defender has been reporting Trojan:PHP/Obfuse.AR!MSR pointing to random phpXXXX.tmp files inside C:\Windows\Temp ...
Prashant Agarwal's user avatar
1 vote
0 answers
417 views

PHP FastCGI Process Manager (FPM) on IIS

Is there a way to enable fpm-fcgi sapi on IIS? I'm aware that the default SAPI for PHP on IIS is cgi-fcgi.
user4333349's user avatar
0 votes
0 answers
910 views

IIS / PHP not passing (or passing incorrect) NTLM user information

I am currently migrating PHP applications from IIS 8.0 to IIS 10.0. NTLM/Windows Authentication has been installed through Server Manager, the scripts are running on PHP7.1, are using exactly the same ...
Janno's user avatar
  • 51
-1 votes
1 answer
146 views

Unable to login to any php system on IIS after moving to new server

My host moved to a new IIS server. My website is ASP.Net MVC based. Plus it also has wordpress and question2answer php systems under subfolders /blog and /qa. These websites are showing all pages ...
Gautam Jain's user avatar
0 votes
0 answers
458 views

IIS and PHP speed differences on same server. Hug of death

I have a website that uses PHP and hosted on a IIS server that is currently experiencing the hug of death(1000+ concurrent users). The site takes about 1 minute to load a simple php web page. I also ...
jLynx's user avatar
  • 133
1 vote
1 answer
2k views

IIS 10.0 Detailed Error - 405.0 - Method Not Allowed on Windows Server 2016

I am using PHP version 7.2.7 on IIS. Everything was working fine until I started getting this error about a week ago: IIS 10.0 Detailed Error - 405.0 - Method Not Allowed This is using a POST ...
SinTek Solutions's user avatar
0 votes
1 answer
637 views

Pin point 500 Error which seems to orginating from FastCGI Module

I have a php application which I have been hosting on IIS that has suddenly stopped working and returns a server 500 error. In an attempt to troubleshoot it I have added a Failed Request Tracing Rule ...
Niana 's user avatar
  • 101
0 votes
1 answer
393 views

IIS .php file strange behaviour

I need to host a php based website on IIS and I have come across some strange behaviour of .php files. When I try to open index.php, I get the white screen of death. There are no error logs (I ...
Solilim's user avatar
  • 101
1 vote
0 answers
68 views

PHP 7.3 doesn't show in WPI in IIS 8.5

I have 3 Windows servers, two of them are Windows Server 2012 R2 - IIS 8.5 and the other is Windows Server 2012 - IIS 8.0 I wanted to update to PHP 7.3.x automatically through the Web Platform ...
MirrorMirror's user avatar
0 votes
0 answers
225 views

PHP loaded in subdirectory has significantly slower TTFB than in root

I have two identical Azure web app services (IIS) running PHP 7.3, 32bit. On webservice1.com, I have installed Wordpress on the root. This has a TTFB of 225.24ms. On webservice2.com, I have copied ...
nathanfield's user avatar
1 vote
0 answers
157 views

PHP version automatically changed in IIS SERVER after 5-10minutes

I have a windows 2008 server with IIS7. The websites are configured with individial application pool. Few sites are running with PHP 5.4 and few are using PHP 5.6 version. All sites are under Multi-...
Sneha Makwana's user avatar
0 votes
0 answers
840 views

PHP is looking for php.ini in C:\php rather than C:\Windows

My monitoring software (Dynatrace) messed up php on my web servers. For some reason all of my IIS websites are loading the php.ini file from C:\php-5.4 instead of C:\Windows. From phpinfo(): ...
rando513's user avatar
6 votes
1 answer
2k views

PHP FastCgi running as IUSR instead of IIS APPPOOL/xxx

An IIS website is run via an Application Pool which has its Identity advanced property set to ApplicationPoolIdentity. The website runs PHP scripts via a FastCGI handler. These scripts try to write to ...
alik's user avatar
  • 369
0 votes
1 answer
184 views

ODBC connections stop working under load

All We have a system running Windows Server 2016 with IIS 10 and PHP 7.1.16. The scripts connect to a SQL Server database through ODBC. It works very well during normal conditions, however we get a ...
Aaron Mason's user avatar
1 vote
1 answer
2k views

PHP under IIS FastCGI - How to determine the best values for InstanceMaxRequests and PHP_FCGI_MAX_REQUESTS

I'm running PHP 5.4 (yes, I know it's old and needs to be upgraded) as a FastCGI component in IIS 8.5 on Windows Server 2012 R2. While I was tuning the settings I read the https://docs.microsoft.com/...
luisdev's user avatar
  • 143
2 votes
0 answers
321 views

Repercussions of setting the IIS responseBufferLimit to = 0

I'm running a PHP application (Moodle) under FastCGI in IIS 8.5, Windows Server 2012 R2 and PHP 5.4. There are two VM server nodes in the setup using an F5 load balancer. I am using Wincache for the ...
luisdev's user avatar
  • 143
0 votes
1 answer
4k views

IIS 8 : "information about PHP cannot be obtained due to invalid IIS configuration"

See error below. How to resolve?
Jonesome Reinstate Monica's user avatar
0 votes
1 answer
399 views

PHP errors: 'call to undefined function' or 'undefined variable' happening sporadically on TestRail

Me and my team have problem with TestRail running with PHP on IIS 8.5. From time to time our TestRail instance becomes unresponsive with an error of following kind: OR PHP Error: Cannot redeclare ...
altern's user avatar
  • 195
0 votes
2 answers
494 views

Automatically logging into remote PHP website, using windows network logins

We've got an externally hosted PHP website running on a Digital Ocean server. We've got a windows network hosted internally. -- We're aware when the PHP application is running on IIS within the ...
owenmelbz's user avatar
  • 173
0 votes
2 answers
730 views

IIS 7.5 physical path with no extension

I cannot figure out why my PHP installation is requesting a physical path without an extension. Requested URL http://localhost:80/index Physical Path C:\inetpub\wwwroot\index PHP is working ...
Terrum's user avatar
  • 21
1 vote
0 answers
934 views

Wordpress won't load after updating PHP to 5.4, gives FastCGI Error (Windows)

I'm having a lot of problem here trying to start the development of a new website. We have an external host running on Windows (our client already have a website on the root - we end up not having ...
Mateus Oliveira's user avatar
0 votes
1 answer
304 views

PHP site on new server can't connect after authenticating user

I'm moving an existing PHP/MySQL website application to a new server and for some reason I'm getting a "ERR_CONNECTION_REFUSED" error after I login. I've installed PHP and MySql and copied the ...
Vincent's user avatar
  • 808
0 votes
1 answer
774 views

IIS 10 StaticFile handler impeding PHP custom verb for default document

I'm trying to enable IIS 10 to allow custom verbs in PHP. I have PHP_via_FastCGI enabled to accept all verbs. This works correctly when I specify the full path, inclusive of index.php at the end. The ...
Mike's user avatar
  • 1
2 votes
1 answer
15k views

PHP not loading sqlsrv extension

I'm having trouble getting PHP to use Microsoft's sqlsrv extension on 64bit Windows server 2012 R2 running IIS and PHP 7.1.7. When I run phpinfo() I don't see that the extension has been loaded. I'm ...
chump's user avatar
  • 66
1 vote
1 answer
3k views

IIS | PHP Error: No input file specified

Im running IIS 7.5 / PHP 7.0 CGI. If i open a non exist .php file in my browser, i get this error: No input file specified. IIS don't use the 404 Error Page for .php, like in .html files. I found ...
Cloud's user avatar
  • 21
1 vote
0 answers
23 views

Secure access to pre authorized individuals only on application server

I am building a PHP application and would like to lock the backend (even login page) to only be accessible to preauthorized people - even further be able to link activities to the authorized ...
Erick's user avatar
  • 177
1 vote
0 answers
1k views

Having PHP Error Log in IIS Log - One for each site

I am currently trying to do as I was doing in apache: setting a different PHP Error Log for every application. I read a few tutorial so far and none seems to explain exactly what I want and I cannot ...
Yann Chabot's user avatar
2 votes
1 answer
2k views

Receiving a 404 after posting a large file via PHP on IIS

I have a form where you can upload an XML file and my PHP file parses and imports the file into a database. When I post a 50 mb or less file, it works. But when I post something a bit higher, it ...
Jared Dunham's user avatar
0 votes
1 answer
244 views

Add user to Active Directory, remotely from macOS Webserver

I have an Active Directory server, running on Windows Server 2012 R2. I also have a webserver, running on macOS El Capitan. There is an external AD-server which I can use (only) to query for user (...
Kai Hatje's user avatar
  • 143
-4 votes
1 answer
245 views

Set up Windows Server 2012 R2 before migrating wordpress website [closed]

My company decides to move their website to a new Windows Dedicated Server. I am a totally newbie right here, and have no idea what to do. Can you please let me know what are the steps to do that? ...
DopeAt's user avatar
  • 97
3 votes
2 answers
8k views

Widows Server 2016 IIS server install PHP

I try install PHP for Windows Server 2016. Install from insctruction: https://www.microsoft.com/web/downloads/platform.aspx I download this menager and find PHP. Install PHP 7. Error Log: http://...
youmound's user avatar
2 votes
2 answers
1k views

PHP on IIS doesn't load sqlsrv extension

I'm trying to put together a page that can submit data from a form to an MSSQL database via PHP. I've got PHP installed successfully (phpinfo() runs fine even on a remote computer) but it will not ...
Abion47's user avatar
  • 191
0 votes
2 answers
9k views

PHP Manager IIS fails to install on Windows Server 2016

I have recently installed Windows Server 2016 and I'm trying to get my IIS 10 set-up to create a site. The PHP 5.6.30 installed just fine, but the PHP Manager 1.2, WinCache 1.3 for PHP 5.6 and CGI ...
Howie's user avatar
  • 107
1 vote
0 answers
225 views

Unable to find IIS response logs for php calls

I'm having trouble finding IIS logs for non-erroring calls to php files. I've recently been given ownership of an IIS 7.5 server that runs php. While digging through logs, I can't find any records ...
Ryan's user avatar
  • 65
1 vote
1 answer
222 views

Troubleshooting WebPI 5.0 Dependency Issues (It wants to bring in an old PHP version)

I am working on a Windows 2012 R2 Server with IIS 8 installed, now I am trying to get PHP 7.1.1 (x64) installed using the Web Platform Installer and am running into a dependency issue I am unsure how ...
Roark's user avatar
  • 11
1 vote
0 answers
1k views

Installing PHP 7 on Microsoft IIS

I'm trying to install PHP 7 on IIS using Windows Server 2012 R2 x64 Microsoft recommends that one should install PHP with their Web Platform Installer. After doing this I have PHP installed, but I ...
Daniel's user avatar
  • 111
1 vote
0 answers
319 views

how do I modify php verbs web.config

I have a project that needs the PUT request enabled for PHP. By default GET, HEAD, and POST are enabled but I need to enable PUT verb from my web.config, not from IIS manager. How can I do this?
Abdullah Seba's user avatar
0 votes
1 answer
982 views

PHP script cannot run more than 1 minute on IIS 8.5

I've set max_execution_time to 0, set memory_limit to '-1' and time limit 15 minute for FastCGI but getting a "500 - Internal Server Error" when running a PHP script more than 1 minute. Anyone have ...
Bimal Bavalava's user avatar

1
2 3 4 5