All Questions
37
questions
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 ...
0
votes
0
answers
459
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 ...
4
votes
1
answer
836
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:
$...
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 ...
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 ...
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 ...
0
votes
1
answer
185
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 ...
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 ...
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 ...
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 ...
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 ...
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-...
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 ...
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 ...
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 ...
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: ...
3
votes
1
answer
6k
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
2
answers
1k
views
Is it possible to have both PHP versions (5.2 and 5.3) after update to Plesk 11? [closed]
I'm using Plesk control panel v10 on a Windows dedicated server.
Plesk 11 will also upgrade PHP version to 5.3, but some of the websites on server do not support 5.3.
Is it possible to have both ...
1
vote
2
answers
3k
views
PHP on Windows as Fast-CGI (IIS vs Apache)?
We currently have a Windows web server. It's running Apache and PHP as a module. The server itself is a beast but PHP performs poorly in a Windows environment when installed as an Apache module and we'...
3
votes
2
answers
7k
views
Windows authentication to SQL Server via IIS and PHP
We're running a PHP 5.4 application on Server 2008 R2. We would like to connect to a SQL Server 2008 database, on a separate server, using Windows authentication (must be Windows authentication--the ...
9
votes
2
answers
20k
views
Multiple paths in php.ini open_basedir on Windows
I'm attempting to use multiple paths for my php open_basedir config value, in php.ini on a windows server.
The line I'm using is:
open_basedir = E:/Websites;C:/PHP/includes/
Unfortunately, it's ...
0
votes
1
answer
960
views
IIS/PHP, 2 Users, same permissions, different access?
I have a hyper-v server with 3 instances running under it, testing, production, and files. The production user can access the mounted files directory with the following permissions; 'read & ...
6
votes
1
answer
6k
views
32bit or 64bit PHP on 64bit capable processor/64-bit Windows Server 2008/IIS7
I plan to install PHP on a system running on AMD Opteron/Windows Server 2008/IIS7. According to the device manager the OS is a 64-bit Operating System. So which flavor of PHP should I install on it. ...
0
votes
2
answers
732
views
Wordrpress with PHP 5.3
I'm trying to install Wordpress 3.1 on PHP 5.3 (under IIS 7.5), but before getting to the configuration page it's throwing this error:
Your PHP installation appears to be missing the MySQL extension ...
0
votes
2
answers
121
views
Large Scale IIS with PHP
Are there any issues about using PHP with IIS on a production environment?
I'm asking this because most of people use Linux + Apache + PHP.
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 ...
0
votes
1
answer
979
views
PHP on IIS6, Windows Server 2003. Enabling cURL causes CGI Error
I'm running an IIS6 server on Windows Server 2003 R2 SP2.
I've installed PHP on the server, and MOST of it is working fine. However, if I try to enable the cURL extension for PHP, I get the following ...
0
votes
1
answer
2k
views
CURL on PHP 5.2 works in CLI but not in IIS
I have a Windows 2003 Server running IIS with php 5.2.8, I'm trying to use CURL, and it works in CLI mode (if i execute php.exe) but it does not seem to be registered when running under IIS.
The ...
1
vote
2
answers
2k
views
Windows 2008 IIS 7 PHP Caching / Blank Page Problems?
I don't even know how to explain this. The only thing I can think is 'why am I working with a windows server?'
I am renting a dedicated 1and1 server - I installed PHP myself - with fast CGI and ...
0
votes
1
answer
401
views
How To Parse PHP Inside Other Filetypes On Windows Server 2008 IIS7?
How would one treat a common .html file or .js file as .php in windows 2008 server running IIS 7?
I only want a specific filetype treated as .php - not all of them.
1
vote
1
answer
1k
views
How To Treat Any File As PHP In Windows IIS 7?
I want .any file (could be .this or .that etc.) to be treated as a .php file and parse .php code on my windows 2008 server running IIS 7.
How would I go about doing so?
0
votes
1
answer
893
views
How to use PHP in combination with the IIS7?
I have enabled IIS7 and would like to use it in combination with PHP. For that I have already installed PHP. And than I found a rather detailed description of how I can make IIS7 be able to use PHP. ...
6
votes
4
answers
13k
views
Which user does PHP/IIS6 use to read/write files?
I've installed PHP5 (FastCGI) on IIS6 and is just wondering which windows user PHP uses to access the file system?
With ASP.NET for example, the ASPNET account is used to access the file system. But ...
0
votes
1
answer
2k
views
Flushing / Erase PHP Error log on Windows IIS
I have an IIS server that I'm working on. There's a file at C:\Windows\Temp\php-errors.log that I'm using to debug some 500 errors. After abusing the usage a bit (wrote out a bunch of debug output to ...
0
votes
2
answers
894
views
PHP: Extensionless URLs in IIS7 (windows)? (for wordpress)
I have recently installed wordpress but i would like to configure extensionless URLs .. I am using IIS7 but on a shared server.
I presume i cna add something to web.config file??
I am little bit ...
1
vote
2
answers
199
views
Troubleshooting PHP Access Violations
My company is running IIS on XP. Every other day we get a PHP Access Violation and the only way I know to fix it is to restart IIS. I've googled the actual Access violation code and i can't find ...
4
votes
3
answers
6k
views
How can I rewrite urls (ala mod_rewrite) for free in IIS 6?
I've got an application I wrote (with cakephp) for the lamp stack and I'm moving it to a windows server. I'm having a lot of trouble with apache for windows (memory and cpu issues) so I would like to ...