What issue or error are you experiencing?
We use LocalWP (latest version) on Windows 11.
We want to use within LocalWP the free plugin “wp server health stats” being available at Wordpress.org.
The plugin runs nicely but cannot query the CPU configuration such as available CPU-cores because of the PHP function “shell_exec” being disabled (we use PHP v8.0 and later).
Normally the function gets disabled within the “php.ini” file under the entry “disable_functions” in the global folder of LocalWP as well as in the specific website-folder. There is no such file but a file called “php.ini.hbs”. Within this file the “disable_functions” exists and is empty.
Can you tell me please how to enable the “shell_exec” function in this configuration ?
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
System Details
-
Local Version: latest
-
Operating System (OS) and OS version: Windows 10 or Windows 11 (identical behaviour)
Local Logs
Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
Security Reminder
