0
votes
0answers
6 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 ...
0
votes
1answer
27 views
+100

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 ...
0
votes
0answers
12 views

Issues installing MSSQL extension in IIS

Hello long time lurker first time poster, I'm running PHP 5.4 on IIS and have installed the extensions mssql (SQLSRV30.exe) and activated the extension in the PHP manager. However, whenever I use ...
0
votes
2answers
72 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, ...
0
votes
0answers
19 views

IIS webpage failing to load | Fast CGI related

I HAVE SOLVED THIS PROBLEM Was missing the c++ package So I am running windows server 2012 with IIS 8. I have tried many things to get PHP working, so I have installed PHP 5.5 via Web platform ...
0
votes
1answer
60 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 ...
0
votes
1answer
172 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 detaild logs or anything. However, when going to PHP Manager for IIS and click check ...
0
votes
0answers
16 views

iis 8 already run php but does not run new app

I have an IIS 8 server that already run PHP. I set a sub-domain to the main domain and already I have PHP web applications run with it. sub.mydomain.com/smf is working fine However, I tried to make ...
0
votes
0answers
110 views

Why does PHP fail to open files (permission denied) under IIS with integrated Windows authentication?

I have a PHP script running under IIS for our intranet that is trying to open a file on another machine via a UNC path. I've enabled integrated Windows authentication so the $SERVER['AUTH_USER'] ...
1
vote
1answer
51 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 ...
1
vote
1answer
386 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 ...
0
votes
0answers
99 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 ...
1
vote
0answers
50 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 ...
1
vote
1answer
28 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 ...
0
votes
0answers
130 views

IIS7.5 Not connecting to MS SQL Server 2008 with PHP5.2.9 via php_mssql driver

Ok this is going to be somewhat involved. I have three servers: First I have a box running Linux with Apache and PHP 5.2.17. We shall call this "LB" for Linux Box. Second I have a Server Running ...
0
votes
1answer
1k views

How to get php_mssql.dll working properly on IIS 7.5 and PHP version 5.2.17?

First of all I'll give a very brief introduction of what I'm trying to make. I need the mssql php functions to work on the webserver. I know that such functions were deprecated in PHP 5.3 and above. ...
0
votes
0answers
24 views

IIS server PHP5.2.17 throws - 500 Internal server error

I'm running PHP5.2.17 on an IIS server windows platform. While I'm generating the Excel report with large data(more than 20000 rows), It throws a message "500-Internal Server Error. There is problem ...
0
votes
1answer
108 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 ...
0
votes
1answer
2k 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: ...
0
votes
0answers
5 views

PHP PATH on IIS

I've added a folder to my System PATH, but my PHP user (webuser) has a different PATH value. How can I add a directory to the PATH, that can be accessible by the IIS PHP User? Thanks, Steve
0
votes
1answer
64 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 ...
-1
votes
1answer
71 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 ...
0
votes
3answers
170 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: ...
0
votes
2answers
375 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 ...
1
vote
1answer
167 views

PHP file upload system security implications

i've build a small upload system using PHP, it is working just fine for now however, the problem i have is the way i've got it to work. I don't have much of a background in security, but is what i'm ...
1
vote
1answer
69 views

Keeping PHP up-to-date on a Windows IIS server

On my Windows servers, Microsoft Update keeps IIS and ASP.NET updated automatically. On my Linux/Debian servers, cron-apt keeps Apache/PHP/etc. updated (semi-)automatically. However, I have not found ...
1
vote
1answer
78 views

IIS8: Multiple Sites pointing to same physical folder, but each with different PHP version

I am trying to configure IIS8 server on devel machine with multiple PHP versions (5.2, 5.3, 5.4 and 5.5) to test how scripts works against each version. On server level I successfully created all ...
2
votes
1answer
738 views

IIS 7.5 returns 404 on existing PHP file

Module IIS Web Core Notification MapRequestHandler Handler PHP54_via_FastCGI Error Code 0x80070002 Requested URL http://localhost:80/phpinfo.php Physical Path C:\inetpub\wwwroot\phpinfo.php ...
1
vote
2answers
278 views

IIS 7 with PHP in Domain with Windows Authentication

I have Windows Server 2008 R2 x64b installed with IIS 7, PHP 5.5. This server is added to domain exampledomain , so I have win authentication enabled and all others disabled. I left the two default ...
1
vote
3answers
296 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 ...
1
vote
1answer
260 views

IIS Change PHP.ini location

I am a novice with IIS on Windows Server 2008 My question is basically how to change the path of PHP.ini, due to phpinfo(); my PHP configuration is loaded from C:\windows when I have my mapped module ...
1
vote
0answers
109 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 ...
-1
votes
1answer
100 views

php-cgi.exe is opening up an enormous amount of instances

I am hosting php 5.2 on IIS 8. Yes, I know that's a horrible idea, but that is reality. The server runs out of resources after our website is up for a few hours because for some reason php-cgi.exe ...
0
votes
0answers
236 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.
0
votes
0answers
379 views

Receiving HTTP Error 500 in IIS Web App

I am running the MindTouch Core 10.1.3 CMS web application on a 2008 R2 server and am running into issues. I have posted the issue over on those forums as well (haven't received a response yet), but ...
1
vote
1answer
2k views

installing PHP for IIS8 on a windows server 2012 machine?

We are running a web server IIS8 on a windows server 2012 machine. I need to install PHP on it. I found a nice tutorial here: ...
2
votes
1answer
185 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 ...
0
votes
0answers
480 views

How to prevent IIS 7 to partially decode REQUEST_URI?

I have IIS 7 on Windows Server 2008, with PHP support (5.3.15) I have noticed a difference compared to an Apache 2 environment, with the content of PHP variable $_SERVER['REQUEST_URI']. Basically, ...
0
votes
1answer
819 views

I want ntlm auto authentication but login popup uppears [closed]

I built a php intranet web application that allow users to show their information stored in Active Directory. I want to auto authenticate the user over the Active directory using his windows ...
1
vote
1answer
208 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 ...
2
votes
1answer
65 views

IIS/AppCmd - create new users remotely

Is there a way to add new users to IIS remotely? I want to create new users from another web site located on another server so that I can log on to the server with these accounts to add and edit ...
1
vote
0answers
135 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 ...
1
vote
1answer
253 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 ...
1
vote
0answers
301 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-- ...
0
votes
0answers
178 views

iis php internal server error

I developed a website, using php/mysql running at IIS Server as CGI Server API. Suddenly it gives me error 500 after two weeks. It has lot of scripts but index.php home is working. But other script ...
0
votes
2answers
1k views

Fatal error: Class 'COM' not found in C:\inetpub\wwwroot\test.php on line 22

There is an IIS 7 webserver and PHP 5.3 I have set com.allow_dcom = true on php.ini file and restarted the webserver. I need to use hmailserver by: $obBaseApp = new COM("hMailServer.Application"); ...
0
votes
1answer
797 views

How to enable HTTP POST requests in IIS7?

I'm totally new to IIS7. I get a 400 error when doing any POST request. However GET requests work fine. I'm using PHP for processing but i assume that IIS is missing some configuration to allow POST ...
1
vote
1answer
350 views

Change php configuration allow_url_include on iis

I have configured php on iis, windows server. I need to include a url in program, and I get an error wrapper is disabled in the server configuration by allow_url_include=0 Normally, I would go in ...
0
votes
1answer
56 views

IIS7 php fastcgi - cannot change upload dir

My problem is, that the upload directory suddenly changed by a php application. I set it in php.ini to ../upload, and it worked for about 1 year. Now I don't know why, but php uploads to ...
1
vote
1answer
185 views

IIS with ASP MVC vs nginx with php preformance [closed]

I'm wondering what does asp mvc performance look like in comparison with php on nginx. IIS itself is much more demanding than nginx. But does it start to benefit at some amount of users? 1) Let's say ...