Closed (fixed)
Project:
Security Review
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2024 at 08:22 UTC
Updated:
8 Aug 2024 at 15:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
rajdip_755Hi @MahmoudSayed96, I can replicate the same issue in my local setup.
You can take create a sibling folder of webroot named
drushin you project directory and create adrush.ymlfile inside that with the following details.Ref: https://drupal.stackexchange.com/questions/197651/how-i-change-my-site-u...
In this way, you can set the drush uri, which can resolved the issue. Please check this way and let me know if it's worked for you.
I'm attaching the screenshot here after following the above mentioned steps.
Comment #3
bgustafson commentedI am seeing the same
Error executable_php, access was denied to the file.error message, both when I run security review in the browser or via drush (and I do have a drush file with the site URI specified); the difference is that I actually see the security review results in the browser (in addition to the error message), whereas via drush there is no review output.Comment #4
rajdip_755Hi @bgustafson, Previously I have uploaded the screenshot of the terminal after running
drush secrevnow I'm attaching here the screenshot of the page after running the security review from the following url/admin/reports/security-review. Still I'm not getting anyexecutable_phperror.I think there maybe some permission related issue. For the clarification I'm attaching here the file permissions of the particular file and
/sites/default/filesfolder.Thanks !
Comment #5
smustgrave commented@bgustafson if you can check what was posted in #4
Comment #6
menuchin commentedI have the same effect as colleague @bgustafson in the browser. I don't use drush to confirm the second symptom. Access rights are ok.
Comment #7
prudloff commentedThis rule in Drupal's .htaccess file denies access to PHP files:
So the check not being able to fetch the PHP file should not be an error, it should mean Drupal is correctly protected and make the check succeed.
Comment #9
prudloff commentedComment #10
smustgrave commentedComment in MR
Comment #11
prudloff commentedComment #14
smustgrave commentedThanks!