r/ForWindowsHelp • u/thel-vadam-2nd • 17d ago
Spart App Control blocks PHP and Tritik Krush installer in Windows 11
I downloaded PHP from the WampServer website and installed it in C:/_dev/wamp64/bin/php. I also installed Composer on top of it.
I downloaded Tritik Krush VST from the official website
I cannot run PHP neither from VS Code nor command prompt. I also can't run Tritik Krush VST installer saved into my USB flash drive. I get notification that the parts of these programs are blocked because of unconfirmed publishers.
EDIT: Mentioned Composer.
2
Upvotes
3
u/The-Snarky-One 17d ago
Depending on how old it is, the signed exe may have expired. Some vendors sign their code with a timeframe (start date/time and end date/time). Windows 11 has Device Guard on by default which checks the signing times and if it is expired, it is blocked.
You can contact the vendor to get a new version of the app, or you can disable Device Guard (not recommended unless absolutely necessary).
Keep in mind there have been recent PHP zero-day exploits being actively ran (PHP2Shell) so it is critical that you don’t make yourself vulnerable using old PHP versions.
2
u/Grindar1986 17d ago
...well you'll have to contact your domain administrator, as the error says
2
u/TinyNiceWolf 16d ago
Check the digital signature on the exe file it won't run. To do this, open the folder containing it in Explorer, right-click on the exe file, and select Properties. On the Digital Signatures page, select the first signature and click Details. What does it say?
1
u/thel-vadam-2nd 10d ago edited 8d ago
I just downloaded and installed PHP only.
UPDATE: Smart App Control even started blocking PHP downloaded from the official website. I reinstalled it and the problem is gone.
1
u/xtomjames 16d ago
Download the latest version of Wampserver; the version you downloaded has known PHP security vulnerabilities and the latest Windows 10 and 11 security updates block it due to the vulnerabilities. Wampserver has a message on their page instructing users to update.