All Questions
192
questions
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 ...
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 ...
0
votes
0
answers
72
views
Configure xenforo 1.2.9 Using phpmyadmin 4.x with php 5.6.4 on IIS 10, Windows Server 2019
Versions/Programs:
xenforo 1.2.9, phpmyadmin 4.x, php 5.6.4, MySQL 8.0.32 IIS 10, Windows Server 2019
I am trying to host a local server for tinkering on an old computer I have. This server will be ...
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:
$...
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 ...
1
vote
1
answer
57
views
Error 20080078:BIO routines:bio_write_intern: uninitialized
My php test script for SSL connection to the LDAP server crashes.
When I run it from command line CLI crashes.
The message from the LDAP logging shows this before the crash:
Error 20080078:BIO ...
0
votes
0
answers
38
views
Two application installations from APS catalog fails on Plesk for Windows Server: The 'mysql' extension was not found
Please excuse, if this is the wrong place to post this question, I didn't know better.
I'm using Windows Server 2022 and Plesk Obsidian Version 18.0.48. I try to install two applications via Plesk ...
0
votes
1
answer
52
views
Is PHP's error_log dependent on the OS, config file or something else?
I have two HTTP servers:
Live LAMP server.
Local WAMP server.
When an error occurs on the live server PHP will generate an error_log file in the directory of where the script error occurred. The ...
0
votes
2
answers
462
views
Issues with Imagick / PHP / Windows
I'm setting up a project on a Windows server and having an issue with ImageMagick. I'm from a Linux background and struggling to get it working.
I have downloaded from http://pecl.php.net/package/...
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 ...
1
vote
1
answer
155
views
Uniform Server cron not executing php script
I'm running Uniform Server Zero XIV and am trying to use the cron to run a php script every 15 minutes. When ran manually, the script does what it is supposed to, which is updating values in a ...
1
vote
1
answer
1k
views
PHP loads extensions when called through CLI, but not through Apache
PHP for me only loads exensions perfectly when called from the CLI, but not when I load pages through Apache.
For example, this is the output of php -m:
[PHP Modules]
bcmath
calendar
Core
ctype
...
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
0
answers
262
views
Unable to connect to local LDAP server in php script
I have setup an LDAP server using Apache Directory Studio on my Windows 10 machine. I used all of the default settings and haven't configured anything. The address is 0.0.0.0 and the port is 10389.
I ...
0
votes
1
answer
824
views
Load Symfony Project in a directory with Apache
I have a Symfony PHP Application I want to run in a Windows server with Apache 2.4
Its files are stored in D:\Apache24\htdocs\project1\public
Its entry point is D:\Apache24\htdocs\project1\public\...
0
votes
0
answers
1k
views
WAMP Server: Apache PHPMyAdmin login screen not showing
I have recently setup a WAMP server (Windows, Apache, MySQL, PHP) and i'm having trouble setting up PHPMyAdmin.
I didnt use XAMPP for any of this, i installed the services directly onto the server.
...
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 ...
1
vote
1
answer
903
views
How to have WSL think it is in the past? [closed]
I am developing PHP/Apache/MySQL based code on my Windows 10 laptop via Windows Subsytem For Linux.
I am working on some code that is time related. It has a mix of PHP date commands, and MySQL "NOW()"...
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 ...
0
votes
0
answers
418
views
Unable to install php_ibm_db2.dll on PHP 5.6
I'm getting the following error when trying to start Apache. I've confirmed the extension is in the folder and other extensions such as sqlsrv work just fine. This is the only one that seems to fail ...
0
votes
0
answers
1k
views
Apache on Windows, Cookie w/ PHP Sessions Bug
At work we use a Win7 box to run our site. I know not really an appropriate server OS, but it was working just fine until we upgraded to PHP 7.1 and Apache 2.4 from PHP 5.2 and Apache 2.2.
Now ...
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
2k
views
PHP FastCGI - How PHPRC works
I have a weird situation here in my configuration of Apache. I have decided to use FastCGI and multiple versions of PHP. Below are my configuration files.
If I check phpinfo(); I can see that on ...
0
votes
1
answer
6k
views
A connection attempt failed because the connected party did not properly respond after a period of time
After I installed winginx to the system directory, what was foolish, problems with manipulating files on server appeared and I decided to move it to another place. I deleted the whole winginx folder ...
0
votes
3
answers
5k
views
Apache Httpd PHP 7 Curl Setup
I have been trying to enable curl on PHP 7.1.4 which is running off of Apache HTTPD 2.4. The steps I have taken so far are:
Uncomment extension=php_curl.dll
Ensure that the ext path is set correctly (...
1
vote
1
answer
3k
views
setting up PHP 5.6.3 to work with IIS 8 on Windows Server 2012
First time asking a question so please bear with me. I don't spend a lot of time using IIS but decided to dip a toe in the pond. I have a server that is no longer in production but is still good ...
1
vote
3
answers
2k
views
ERROR 500 on certain machines, client side or still server side?
Hope someone can explain if we have to search for a solution on the clients or server side script. This certain link can be opened by many workstations except at one company. The site they have to ...
2
votes
0
answers
4k
views
VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command [closed]
I keep getting the following error in my PHP error text for Xampp on Windows 10. Using WordPress as the CMS.
Feeling like I have tried everything but hoping there is at least one person here that ...
0
votes
1
answer
51
views
Why is my virtual port linking to the original port in apache?
I am trying to create two ports 80 and 81 to render different files in my compute. For this I made a virtual host. My httpd-vhost.conf is as following:
<VirtualHost *:81>
ServerAdmin ...
2
votes
1
answer
1k
views
php window 4~5 times slower in windows than linux
I have a site deployed to both Windows server 2012 and ubuntu 14.04 and there is a significant performance difference. The code base and DB data is exactly the same.
Windows environment
Windows ...
0
votes
0
answers
127
views
Wordpress tries to allocate Terabytes of memory
I am currently running Apache on windows and occasionally it will seemingly instantly spike and try to allocate anywhere from 10s of GB to hundreds of TB of memory. After this error log happens a few ...
3
votes
1
answer
13k
views
php.ini not being loaded [closed]
I have been trying to configure my Apache server all day, however I am having major issues with getting a php.ini file to be loaded.
When I try to connect to my database I get this error:
Call to ...
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 ...
0
votes
0
answers
17
views
speed: nginx on windows with php fastcgi hosting laravel [duplicate]
I'm trying to host a laravel app on a windows machine and I am trying to find out whether I should use WAMP or WNMP for best speed. Right now I have nginx and php fastcgi running in service wrappers. ...
1
vote
1
answer
245
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
5
answers
2k
views
Webserver exposes client real IP address in OpenVPN network
One of our corporate websites run on Linux server, built with Apache2 and PHP5.
Several web pages can only be accessed from OpenVPN subnet (addresses 10.8.0.1/24). To check each request, php script ...
4
votes
1
answer
9k
views
nginx: An existing connection was forcibly closed by the remote host
I am running nginx on Windows Server 2008 R2 and it seems to be crashing, it also uses php-cgi with it and the php-cgi is part of the problem. After about 30 seconds of being on the page php-cgi ...
1
vote
1
answer
506
views
Allowed memory size of (whatever) bytes exhausted - Windows PHP
I have been trying to find advice on troubleshooting this issue for while but have been unable to find anything which relates to my situation.
I am running PHP 5.6.0 on a brand new Windows 2012 R2 ...
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
3k
views
How do I set variables in bat file and pass them to php variables? [closed]
I am working on a script in Windows to get system information , I want to store the result of each command in a bat variable, then pass them to php variables.
Here the script that I tried:
for /f "...
0
votes
1
answer
131
views
PHP installation issue on a Windows Server hosted in the Azure cloud
I am trying to setup PHP and MySQL on a Windows Server that is currently in Azure cloud using the information from this blog post
[http://blogs.msdn.com/b/africaapps/archive/2013/11/05/creating-a-...
1
vote
0
answers
74
views
PHP remote network location not appearing
I'm having some difficulty getting PHP (or more specifically, Python via PHP) to recognize an important network location. I'm trying to make a simple website which will allow users to easily execute ...
3
votes
1
answer
3k
views
Nginx 1.8 Configuration Problems
Here is the problem :
(I'm new to NGinx, read about it, but didn't find my working solution yet.)
I'm on a Windows system.
My projects file system is located there :
E:/www/
here is a project ...
-1
votes
1
answer
2k
views
Execute bat file via php on a local network to run on any PC connected
I have a web app which runs on a local server (XAMPP)...its on a computer (PC1) which serve as a server..other computers are connected to the same wireless network and can run the web app also from ...
2
votes
1
answer
2k
views
Run php exec function to stop windows services
I have written a web program in php that needs to stop a windows service and start's it when run like this:
exec('net stop spooler'); //to stop printer spooler
exec('net start spooler'); //to start ...
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 ...
0
votes
0
answers
202
views
PHP & MySQL config for IIS server under heavy load
I am running a PHP/MYSQL website on Windows Server 2012 using IIS 8. I had performance issues on my old server with the CPU spiking above 100% during peak times.
So I've just upgraded my server to a ...
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
0
answers
221
views
Configuring openldap/PHP LDAP against "signed" LDAP connections with Active Directory
This may sound like a stupid question, and maybe it's already been answered, but I can't find a definitive answer anywhere, so I thought I'd ask.
When someone enables "Domain controller: LDAP server ...