• Resolved dotker

    (@dotker)


    Good day all!

    Getting errors at my nginx logs:

    FastCGI sent in stderr: “Access to the script ‘/var/www/somedomain.tld/wp-content/plugins/autoptimize/classes/external/php’ has been denied (see security.limit_extensions)” while reading response header from upstream, client: 1.1.1.1, server: somedomain.com, request: “GET /wp-content/plugins/autoptimize/classes/external/php/persist-admin-notices-dismissal/dismiss-notice.js HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock:”

    Not too sure when this has started as using autoptimize for really quite sometime but my nginx logs has been pretty filled up with this. Usually turns up when being accessed from the admin page. So not too sure what gives.

    Server setup is nginx,php-fpm 7.2. Any help to remove that error.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dotker

    (@dotker)

    Just for clarity. Error shows up when accessing the wp-admin even when the minify is turned off for all.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    persist-admin-notices-dismissal is a framework library added in AO 2.4 to allow admin notices to be dismissed, which is why the errors appear when you access the admin pages.

    but this is a matter of nginx (mis-?)configuration (which I’m not an expert in), see for example https://robertbasic.com/blog/php-fpm-security-limit-extensions-issue/

    hope this clarifies,
    frank

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Access to the script has been denied error’ is closed to new replies.