All Questions
3,554
questions
-1
votes
0
answers
38
views
Feed key passphrase to external SSH command on Windows
I'm using Symfony Process to run the SSH client bundled with Windows in a command-line PHP script. Remote server settings are stored in C:\Users\MYUSERNAMEHERE\.ssh\config file, connection is ...
-3
votes
0
answers
29
views
php+nginx on Windows can't upload a file more that 2GB
My Setup is: Im On Windows 10.
php - version : PHP Version 7.4.10 /// tested already with 8.
nginx - version : nginx/1.27.0
script that Im using for upload : https://github.com/danielm/uploader/...
1
vote
1
answer
23
views
Reload Web-Serverless PHP.ini
I've added sqlsrv.dll for my windows php install, but it doesn't seem to recognize it. It's not running on a server, just the cli on my local machine.
It gives me this error:
PHP Warning: PHP Startup:...
0
votes
1
answer
71
views
Windows equivalent of specific LINUX compression tool
In LINUX there is this very specific compression utility/tool at /usr/bin/xz.
Now I am on Windows 10 x64 running PHP 8.1 and I have a php library, that in one line of its code call this very specific ...
0
votes
0
answers
54
views
XAMPP Apache won't run on windows 11
This is the error message I get:
[ssl:warn] [pid 10708:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning: 'C:\WINDOWS\...
0
votes
1
answer
29
views
how to change authority\system to another user
When I run the whoami command, it returns nt authority\system. The question is how I can change nt authority\system to another user?
I did it exactly as described following this link, but it feed back ...
1
vote
0
answers
31
views
How to retain inherited folder permissions for newly uploaded files in a Windows development environment?
In my mobile app, I need to take a photo and send it to the OpenAI API for analysis. I'm working in a development environment with a local server on my Windows PC.
Here's the code snippet that uploads ...
1
vote
0
answers
23
views
How to create PHAR file on Windows?
I used the following command on OSX:
php -d phar.readonly=0 /usr/bin/phar pack -f $folder/$pluginname.phar $folder/$pluginname
When I try to use similar command on Windows 11 and PHP 8:
php.exe -d ...
1
vote
0
answers
97
views
Performance PHP on Windows Server
I'have tried to execute this code in 2 windows server with IIS and PHP 8.2 (x64), but the performance is very different.
Server:
OLD (server 1) - Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz
Base ...
0
votes
1
answer
44
views
I need to kill a process in windows but i have 2 scripts under the same process id
i've the next issue: i'm running through an url a php script, this script makes a query to mongoDb and brings a loooot of registers, this takes almost an hour to finish. To this point everything goes ...
1
vote
1
answer
153
views
compiling shared php-module as dll (windows)
i'm trying to compile a shared extension for php 8.3.6 x64 for windows
i basicly followed these instructions: https://ourcodeworld.com/articles/read/804/how-to-compile-a-php-extension-dll-file-in-...
0
votes
0
answers
126
views
Install 'Brotli' PHP extension on Windows
I'm looking to install Brotli php extension on my Windows Server 2022 server as it offer ~15% better compression performance than Gzip. But I really can't find a proper way to install it. Any ...
-1
votes
2
answers
40
views
PHP php_mongodb.dll for 32bit [closed]
facing the error that my windows server 2019 uses 32bit. now i want to connect from that server with php to my mongodb. I've searched the whole internet for a 32bit version of the php_mongodb.dll but ...
0
votes
1
answer
280
views
How do I fix CPU usage at 100% on a windows server running php?
I am running php on a Windows server (2019) VM in Azure. On that VM I have IIS v10, PHP v8.2.3, and MySQL v8 running several Wordpress sites. In task manager and perfmon, I see that there can be 3 or ...
0
votes
0
answers
38
views
How to debug a Magento 2 project on Visual Studio or PhpStorm in Windows 10 with WSL2 Environment using Nginx and PHP 8.1?
I'm currently working on a Magento 2 project and need guidance on debugging it effectively within a Windows 10 environment utilizing WSL2, Nginx, and PHP 8.1. My primary development tools are Visual ...