All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

PHP on IIS 10 can't access network share

I was previously running iis 8.5 on 2012 R2 and this was all working perfectly. After moving to a clean install of Server 2016 I ported over the sites from the previous install and everything seemed ...
Topherhead's user avatar
0 votes
1 answer
1k views

PHP slow on IIS with thousands of users

So in the last couple of days PHP's performance on our site has just died and we are not sure what is causing it. We have around 1-2k simultaneous users on at a time. So I made an empty test.php file ...
jLynx's user avatar
  • 133
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
2 votes
1 answer
8k views

How I Use Microsoft Web Platform Installer offline?

I have a server that's behind a Windows 2012 firewall without Internet access. I need to install PHP on it, and would prefer to use the Web Platform Installer if possible. I can't find any recent ...
Kendor's user avatar
  • 203
2 votes
1 answer
918 views

PHP: No mapping for the Unicode character..., for specific greek characters

I have a windows IIS server working with PHP. The user inserts a word via an HTML form, it goes to PHP and then PHP calls a COM dll (vb6) function passing the word to the function as a utf8 string. ...
MirrorMirror'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
0 votes
1 answer
225 views

php-cgi.exe CPU load jumps after MySQL Backup

I'm running Windows 2012r2 on a new server, with Plesk 12.5 and MySQL 5.6 installed. There's a backup script which takes a DB dump and zips website data files that runs each day. However, it brings ...
IanCun's user avatar
  • 1
4 votes
1 answer
2k views

IIS 8 with PHP 5.6: WinCache VS Zend Op Cache

Zend Op Cache is compiled by default on PHP5.5+, but IIS encourages use of WinCache for opcode caching. what is the extension that will give me the best performance and stability on IIS? there are ...
Simone Nigro's user avatar
1 vote
1 answer
2k views

PHP exec() over UNC path on Windows

My environment is Windows Server 2012 R2, IIS 8, Active Directory, and a file share. IIS, AD, and the file share are all separate VMs. I have a website, www.example.com, set up in IIS. The ...
Hobbes's user avatar
  • 21
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
0 votes
1 answer
682 views

PHP.ini file causing WordPress site to crash on Windows IIS

I'm running WordPress on Windows IIS (GoDaddy Hosting). The website was created using Visual Composer, which requires an increase in the memory limit. The website is also installed in a subdirectory ...
Yazmin's user avatar
  • 109
2 votes
1 answer
871 views

Shibboleth - Secure whole IIS application

I've setup shibboleth SP on my server and now I want to protect my IIS folders. I followed a few tutorials and used this syntax in my shibboleth2.xml file: <RequestMapper type="Native"> &...
posixpascal'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
-3 votes
1 answer
2k views

PHP extensions not loading on IIS

Calling a function that loads an extension (curl, mysqli, etc.) throws a PHP fatal error. I've looked all over the internets but all the things found did not resolve. Here is a list of findings and ...
Alex's user avatar
  • 101
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
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
6 votes
3 answers
10k views

PHP on Windows - ps_files_cleanup_dir error

I am occasionally getting the following error when loading a PHP page: PHP Notice: session_start(): ps_files_cleanup_dir: opendir(C:\Windows\TEMP) failed: No error (0) in C:\server\default.php on ...
Mooseman's user avatar
  • 163
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 votes
1 answer
4k views

Sending email from PHP through exchange [closed]

I figured serverfault might be a better fit for this question. I'm trying to send emails with PHP mail() function. PHP returns no errors and says the email has been accepted whether it sends or not. ...
Shadymilkman01's user avatar
0 votes
1 answer
2k views

IIS | Block execution of files in directory

I am dealing with user uploads via a PHP application. I want to secure the server so no exploits are available to the user, such as uploading a php shell and executing it. I have set it so all ...
Jimmy's user avatar
  • 1
5 votes
3 answers
25k views

How to Upgrade to PHP 5.5 on Windows Server 2008

What is the proper way to upgrade from PHP Version 5.4.32 to PHP Version 5.5.22 on Windows? All that I can find is how to to install. PHP is already running on Windows Server 2008 R2 64 bit alongside ...
crjunk's user avatar
  • 101
4 votes
1 answer
6k views

PHP eats a lot of memory on IIS

I just transferred one site from Linux to Windows and I'm getting strange fatal error messages. My Linux PHP had a 256MB memory limit and never had a single "out of memory" fatal error. Now on IIS I ...
Novkovski Stevo Bato's user avatar
0 votes
1 answer
2k views

Add a PHP Handler to a website or even a folder only via AppCmd

I am trying to automatically deploy an IIS webserver (currently 8.5, will need to work it out all the way down to 7.5 as well), using AppCmd.exe I am using PHP's FastCGI to handle requests. I have ...
Worp's user avatar
  • 327
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 votes
1 answer
643 views

send a command via a website to a windows server

Is there an interface or something else which provides a connection between a website and a windows server to send commands via the website to the server and the server itself perfoms it? I want to ...
mushr00mer1990's user avatar
4 votes
2 answers
943 views

Failure in PHP_MINIT_FUNCTION(Wincache) with Wordpress, Microsoft Azure and IIS

I'm starting experience very annoying downtimes with my Wordpress installation hosted in a shared environment in Microsoft Azure PAAS, where PHP is executed under IIS. First of all I tried to ...
Gabriele B's user avatar
0 votes
1 answer
872 views

HTTP Error 500 Joomla Site in Windows Server 2012 IIS

I am trying to migrate a Joomla 1.5 website from Linux to Windows Server 2012. I tried to use the Web Platform Install. It installed most components, PHP, IIS Url Rewrite, etc except Joomla itself. I ...
John Ng's user avatar
  • 135
0 votes
1 answer
1k views

PHP files loading very slowly, even if they have no PHP code

Windows Server 2008 R2 Standard IIS 7.5 PHP 5.3.28 FastCGI I have a WordPress blog in a subfolder of an ASP.NET site that has started running very slowly. After experimentation, I've found that all ...
75th Trombone's user avatar
0 votes
2 answers
558 views

SetEnvIfNoCase Host: .htaccess to web.config conversion

I have tried IIS Manager and some online conversion tools but I can't figure out how to achieve the following .htaccess rules in a web.config file: SetEnvIfNoCase Host my-domain.com nopassreq ...
superphonic's user avatar
0 votes
2 answers
136 views

Why would IIS use two different PHP installs?

I've inherited this Windows Server 2008 server that we use as our primary web server and have lately been running into some oddities. Previously, PHP was installed by just downloading a zip file, ...
Chiggins's user avatar
  • 811
5 votes
2 answers
6k views

Webserver issues | PHP manager for IIS

i am using windows server 2012 with IIS 8. I installed PHP 5.5 via web platform installer, all installations were successful apart from "PHP manager for IIS". Any ideas why? below I will insert logs:...
James Lee's user avatar
34 votes
4 answers
88k views

500 error on fresh install of IIS and PHP

When attempting to run a PHP file on Windows server 2012 and IIS, I keep getting a 500 error. I cannot find any detailed logs or anything. However, when going to PHP Manager for IIS and click check ...
alexander7567's user avatar
1 vote
1 answer
158 views

PHP 5.3.x on Win2012/IIS8/x64: installation steps are?

I have set up php on IIS 6.x a number of times. In that context, I have to change IIS itself to run as x86, and I can manually add php as a cgi extension. The app I am using supports php 5.3 as the ...
Jonesome Reinstate Monica's user avatar
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
576 views

Heartbleed vulnerability when SSL provided by unaffected servers?

*I'd like to ask about two scenarios where a vulnerable version of OpenSSL is installed on a server, but that server is not providing SSL services. Scenario 1: I have an SSL certificate installed on ...
Brian Colavito's user avatar
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
0 votes
1 answer
1k views

PHP pages display as 404 on iis 8 with windows server 2012

Installed php on windows server 2012 and then went to command line and php -i everything displayed like it should. Then went into iis and created the handler mapping for php via fast cgi at the server ...
kqlambert's user avatar
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
0 votes
1 answer
379 views

IIS FTP same user authorized on HOST1, not authorized on HOST2

I recently switched web hosting companies for my website. I have a PHP application that connects to a Windows FTP (IIS 7.5 Windows Server 2008 R2 Standard) that now won't do anything. No passwords or ...
nachito's user avatar
  • 245
0 votes
1 answer
1k views

IIS can't find PHP files

I am running Windows Server 2012 with IIS. I have enabled CGI and installed PHP with IIS FastCGI and Multi-Byte strings. It is also the Non-Thread safe version. Though, I have made a PHP file to test ...
cheese5505's user avatar
0 votes
3 answers
828 views

PHP script works on local MAMP server but not IIS 8 server

I have a PHP script that displays Tweets embedded in a site I built out on my local machine. When I uploaded the site to my IIS 8.0 server, the PHP script no longer works and I receive this error: ...
user715564's user avatar
0 votes
2 answers
2k views

Windows Server 2008 R2 running PHP poor performance

At work we have a Windows Server 2008 R2 setup as webserver. We have IIS installed and with the Web Platform Installer we have installed PHP. The problem now is, the performance of the server is ...
Crinsane's user avatar