Skip to main content

All Questions

Tagged with
0 votes
1 answer
161 views

Issue addressing MODBUS via RS485 and PHP on Windows

I have a USB to RS485 adapter connected to an RS485 relay board which I am able to correctly address using some software called sscom. Via sscom I can enable/disable the relays on the relay board. So ...
omega1's user avatar
  • 347
-1 votes
1 answer
830 views

Apache having problems with PHP

This on W10. I've been trying to replace a dysfunctional Apache-PHP setup. I installed (i.e. decompressed) Apache2.4.57 under D:\apps. I have a php version at D:\apps\php\php7.4.33. httpd.conf ends ...
mike rodent's user avatar
0 votes
2 answers
719 views

Is there a way to set up Xdebug on Windows without submitting that form with your phpinfo() dump?

On https://xdebug.org/docs/install , in the Windows section, it says: Follow these instructions to get Xdebug installed. This leads to: https://xdebug.org/wizard , which only has a textfield and ...
Rubiera's user avatar
1 vote
0 answers
71 views

Which Winlogon session is attached to the sound device?

I want to select and play music stored in my Windows 10 Home PC from mobile devices connected by home WiFi network. There's an Apache webserver running on my PC as a service logged on Local System ...
vitsoft's user avatar
  • 111
-1 votes
1 answer
131 views

Is there any particular way to set up files for Web Development? [closed]

I've been working in...studying...Web Dev for about four years and I'm wondering if there is a particular file structure that's beneficial. Example, I noticed one individual had a DEV folder directly ...
markanthony's user avatar
0 votes
1 answer
1k views

Why does "fsutil volume diskfree e:" not work unless you have a special "elevated" terminal?

fsutil volume diskfree e: Error: Access is denied. That happens when I run it from a normal cmd.exe, and whenever I run it from my PHP CLI scripts. Only by manually opening an "elevated" ...
Ransier's user avatar
2 votes
2 answers
4k views

The Windows Defender reporting PHP Backdoor

I recently got a message from Windows Defender about a high risk level threat found on my system: Backdoor:PHP/Dirtelti.MTE. What's most strange is that the file to which the message applies is php-7....
DarosRT10's user avatar
0 votes
2 answers
185 views

When a File Explorer window has a directory opened, and I try to delete this dir, there is some sort of file permission error. What to do?

I open a directory in File Explorer. I try to delete this same directory (from a script or command line or whatever). It fails to delete it because it's currently "in use" or "opened&...
Esteve H.'s user avatar
0 votes
1 answer
246 views

How to reliably and correctly count the number of running processes of the same script from PHP?

The current, horribly flawed, method I use is: tasklist /FI "WINDOWTITLE eq BLABLABLA" /NH The BLABLABLA part above is the current exact process title. (Don't even get me started on the fact that it ...
qazxsc's user avatar
  • 1
-1 votes
1 answer
226 views

How should I detect whether the network connection (VPN) has unexpectedly died from PHP CLI?

Situation: I have a perpetual PHP CLI script running whenever my computer is powered on. Every minute, it launches a bunch of sub-processes which each do some work in parallel. (I do it like this ...
greg03's user avatar
  • 1
1 vote
0 answers
2k views

How do I link to a specific line number with "file:///" URLs?

The manual for Notepad++ says that you can use the command line argument -n123 to jump to the 123rd line of the specified file. What about when the file is not opened from a command line, such as: ...
IAmAGuest's user avatar
0 votes
0 answers
60 views

"Go to symbol in file" not working for PHP

For some reason, the "Go to symbol in file..." dialog for PHP only has an empty list. That dialog works fine for other languages, like JavaScript or TypeScript, but not PHP. I've set the PHP ...
laurent's user avatar
  • 5,618
2 votes
1 answer
53 views

CLI PHP script gives "ERROR: Error accessing the registry."

I have a CLI PHP script I made which does this: <?php shell_exec('reg import OneDrive.reg'); (OneDrive.reg disables OneDrive cancer.) With zero changes from yesterday, it suddenly gives: ERROR: ...
GoingInsane's user avatar
3 votes
3 answers
3k views

Cannot get Apache to find PDO driver

I am using Windows 10 and have installed Apache2.4, PHP7.2 and MySQL. I am having trouble installing the driver for pdo_mysql I have edited my php.ini file, and in the extensions section I have: ...
Liam Bell's user avatar
2 votes
1 answer
9k views

Apache 2.4 not running PHP 7 (windows)

I have apache installed. I was doing just fine until today, that I created a php file and so apache did not open it. I then searched the web and I realized I needed to install php (I come from Linux ...
N00b's user avatar
  • 33

15 30 50 per page