All Questions

Tagged with
91 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
308 views

IIS server slows down with only a few tens of requests

I'm using IIS 7.5 with PHP and I'm having troubles with my application, it is VERY slow and it can take more than 30 seconds to respond sometimes. I believe this is due to some kind of queue of ...
Steve's user avatar
  • 203
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
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
2 votes
1 answer
4k views

Secure PHP on IIS 8.5

I'm using IIS 8.5 on Windows Server 2012 R2 to host ASP.NET and also PHP-Applications. Because there are a few different PHP-Apps, I want to restrict the access by using open_basedir. The problem: ...
Lion's user avatar
  • 506
2 votes
1 answer
19k views

File upload permissions issue on Windows Server 2008 R2 IIS 7.5 PHP 5.3 with Drupal v.7.26

I have website on Drupal version: 7.26 OS on server is Windows Server 2008 R2 Web server $_SERVER["SERVER_SOFTWARE"]: Microsoft-IIS/7.5 Server API: CGI/FastCGI Core PHP Version: 5.3.28 file_uploads: ...
Taras's user avatar
  • 228
2 votes
0 answers
1k views

IIS and PHP with FastCGI/WinCache not seeing updated files

We have a script that regularly updates itself on a scheduled task. It downloads a ZIP, then extracts and overwrites a bunch of app files with new ones. We're seeing many cases on IIS where the ...
chroder's user avatar
  • 664
2 votes
1 answer
558 views

Long server response delay - 60 to 90 seconds - when using PHP Mail() on IIS7.5

We have a Windows 2008 Server running PHP 5.2.11 on IIS 7.5 When any script on the server calls a mail() function it presents no errors and sends the email nearly instantly. However, the server will "...
m.ed's user avatar
  • 21
2 votes
0 answers
422 views

Setting PHP remote write permissions in IIS7

I have two windows server 2008 servers. One is a web server one is a file server. A php script runs on the web server and is supposed to write to the other server. I am getting a permissions error. I ...
chronoz's user avatar
  • 129
2 votes
0 answers
1k views

Content Encoding Error on new IIS 7 server with PHP

I recently moved a PHP (Cake framework) development site from an IIS 6 (x86) server to an IIS 7 server (x64). The content is all the same and the URL rewriting works, but on the attempt to display the ...
Ben Brocka's user avatar
2 votes
1 answer
1k views

IE and Google Chrome timeout on an IIS6 hosted SSL page that Firefox handles well

Ok, here's the scenario: Up until a few weeks ago, none of us noticed anything wrong with the corporate website. People were using it without complaint. Then, a client complained that a specific page ...
user avatar
2 votes
3 answers
2k views

How can I display and log PHP errors on IIS7.5?

I running PHP 5.4.5 on an IIS 7.5 Server (under Win7 64) and i have problems making PHP errors visible. At the moment whenever i have a PHP error the server sends back a 500 error with the message "...
ozz's user avatar
  • 21
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
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
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
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
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
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
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
1 vote
0 answers
320 views

IIS Kerberos double hop not working for windows clients

I have an IIS 7.5 server configured for Kerberos Authentication and this has been working fine for quite a while. Recently, some Windows updates were applied (by server admins) and now when my IIS ...
Daryl Gubler's user avatar
1 vote
0 answers
2k views

IIS7+ Status Code 500 0 64

We run a webapplication and switched from Apache/PHP to IIS/PHP(fastcgi). Now our client gets like 200 blank pages a day. According to the IIS logs it's "500 0 64". The sc-win32-status 64 is "The ...
gobnepla's user avatar
  • 111
1 vote
0 answers
64 views

Wordpress/IIS/PHP cannot download files with non-ASCII characters

I have a Wordpress installation on a Windows IIS with PHP. It is not possible to download files from the website that have been uploaded with non-ASCII characters. Renaming the files with ASCII ...
Mikkel Bayer's user avatar
1 vote
0 answers
2k views

Should PHP FastCGI be running multiple instances on windows?

Im running PHP under iis 8.5 on Windows Server 2012. The server runs asp.NET without a hitch. Pages are rendering in well under a second, but PHP is not running so well. It takes upwards of 40 seconds ...
Dan Hastings's user avatar
1 vote
0 answers
180 views

Copy PHP website to virtual folder under IIS 8.5

I would like to make an existing PHP Website (Apache) run on a virtual folder under IIS 8.5. With the help of some nice online tools I translated the following .htaccess content: <IfModule ...
Bernd Morgeneyer's user avatar
1 vote
1 answer
246 views

Windows/IIS response time doubles every 10 days, resets on reboot

I'm running MediaWiki 1.23 on the following machine: Windows Server 2008 R2 IIS 7.5 PHP 5.4.34 Separate database server with MySQL 5.6.26 I was previously running this setup on a supposedly-...
Jamesmontalvo3's user avatar
1 vote
0 answers
1k views

IIS server: directory not writable via symbolic link compared to directory junction (for only the first user)

We have the following setup for a webserver: Windows Server 2008 R2 Standard, IIS 7.5.7600.16385, PHP 5.3.28, the HMVC framework we use is Kohana. Kohana needs a cache directory to be writable in D:\...
Daan's user avatar
  • 113
1 vote
0 answers
609 views

Random/Intermittent PHP require_once error

I have an unusual problem that is hard to nail down to a specific cause. I'm running a WordPress website on PHP 5.6, IIS 8.5 and Windows Server 2012 RT2 In the past and more frequently this week, ...
Luke Franklin's user avatar
1 vote
0 answers
41 views

Anonymous Authentication Identity Win 2012 r2 security

I have a web app that uses PHP on the back-end, and the PHP executes powershell scripts to reset AD passwords through system calls. EX: shell_exec("powershell.exe -file C:\inetpub\wwwroot\script....
person's user avatar
  • 397
1 vote
1 answer
44 views

Webserver | IIS | Configuring to not run certain files

I currently have a webserver running Windows Server 2012 which is running IIS as its webserver and using PHP. Lets assume the a user is able to upload a trojan onto my server, either through a ...
Jimmy's user avatar
  • 11
1 vote
1 answer
128 views

IIS 7.5 - Windows Authetication FQDN

Currently, I have to implement an auto login function for my mediawiki and I have enabled windows authentication on my IIS 7.5. It is working on localhost without any prompt. However, when I tried ...
user1730935's user avatar
1 vote
1 answer
1k views

PHP-CGI.exe running rampant. Which website?

We have a Windows 2008 64-bit server running IIS 7 and serving about 40 different websites. Over the last few days we've seen a few php-cgi.exe processes consistently utilizing high CPU usage. The ...
Shawn Berg's user avatar
1 vote
0 answers
1k views

PHP temp uploaded files are not deleted on IIS due to 'Access Denied' for IUSR

When uploading a file by a HTML form to a PHP script, the uploaded file will remain in upload_tmp_dir, even when the request ended and this file was not removed explicitly by the PHP code. Expected ...
LucasF's user avatar
  • 111
1 vote
0 answers
3k views

Can't write files with PHP on IIS

I have an IIS 7.5 web server running on Windows 2008r2. When I try to write to a file I get a Permission Denied error, but I can't figure out how to fix the permissions. I have PHP configured via ...
Daryl Gubler's user avatar
1 vote
0 answers
113 views

IIS rewrite rules for subdomain and nonexistent files

Setup: I know how to use a rewrite rule to route urls to a routing script such as router.php. I know how to use a rewrite rule to route urls containing a subdomain to subfolders in the document root. ...
user1096748's user avatar
1 vote
1 answer
119 views

Supporting embedded PHP on a CGI app with IIS

We have a CGI pageserver (.exe) written in Delphi running on IIS. We'd like to be able to embed PHP in these pages at some point in the near future--say, for a captcha or CMS integration--but are ...
John Crux's user avatar
1 vote
0 answers
722 views

How can I enable error logging and where are the errors logs for IIS 8?

I would like to capture php errors and http errors. I've enabled error logging in PHP, but I do not see where in IIS 8 I can enable errors. Is this possible to do? Thank you for your guidance.
Alex Gordon's user avatar
1 vote
1 answer
1k views

Long running php script hangs/terminates on IIS 7.5

I'm a bit of nube when it comes to configuring IIS 7.5 and Php so apologies if this is a silly question but I've been wrestling with this for over half the day and need some fresh input. I have a php ...
Rich's user avatar
  • 123
1 vote
0 answers
265 views

Secure file downloads on IIS 8 (mod_auth_token or similar)

I'm trying to set up secure file downloads (for example, where a temporary link can be generated to download a file instead of using obscure URLs, which can be insecure). Something like mod_auth_token ...
jstm88's user avatar
  • 757
1 vote
1 answer
931 views

Edit MaxRequestLen in FastCGI on IIS (Plesk)

I am receiving a 500 Internal Server Error when trying to upload large files on my server. All of my PHP settings are correct, i.e. post_max_size, execution_time etc... I am pretty certain it is a ...
Ben Carey's user avatar
  • 164
1 vote
0 answers
883 views

IIS + PHP + Page with lots of images = Intermittent 403 errors

I am using an up-to-date Server 2008 R2 Datacenter, running IIS 7.5 and PHP 5.3.6/FastCGI On PHP pages with lots of images (60+), some of the images fail to load It is not always the same images-- ...
SJL's user avatar
  • 183
1 vote
0 answers
116 views

IIS7.5 PHP not logging errors in subdirectories

I'm working with win7, IIS7.5, php 5.2.17 now, and I have a problem with the php error logging: Error logging works well as long as the entry point (called php file) is not in a subdirectory of the ...
inf3rno's user avatar
  • 408
1 vote
0 answers
514 views

How to enable LDAP with php IIS 6 and windows server 2003

I have been reading this answer and trying to understand it: How can I enable LDAP in PHP - Windows Server 2008 LDAP is not showing up with phpinfo() I installed PHP the same way as this person with ...
Phil's user avatar
  • 115
1 vote
1 answer
317 views

IIS and PHP restrict IO permissions

I have php installed trough a fastCGI module. Is there a way to restrict the module (php.exe) read / write permissions to only the directory (+ subdirs) of the IIS site that is calling it? I need ...
Tomasi's user avatar
  • 201
1 vote
1 answer
197 views

Locking down a server for shared internet hosting

Basically I control several servers and I only host either static websites or scripts which I have designed, so I trust them up to a point. However, I have a few customers who want to start using ...
William Hilsum's user avatar
1 vote
1 answer
401 views

Hosting asp.net application inside PHP app on IIS 7

we have a dedicated server running IIS 7. There is a PHP site (wordpress) running from the server. We want to be able to run an asp.net app on the same server, preferably from within the php site. Any ...
fro's user avatar
  • 11
0 votes
0 answers
281 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