I’m not sure if there’s a change in what’s getting called between WP versions, but there appears to be a difference in the way php5.6 and php7.3+ are configured.
I turned on nginx debugging and saw that permission was denied to a few js and css files that WPBakery requires. By default, php is only allowed to execute .php files. Updating the “security.limit_extensions
” in /etc/php-fpm.d/www.conf fixed the problem for me. This file path will likely change based on the Linux distribution you’re using. Assuming you have access to the server, you can run find /etc -iname '*www.conf*'
and it’ll give you the location of that file. Then you can edit the file to include .css, .js, and whatever else you need.
This is what I have:
security.limit_extensions = .php .php3 .php4 .php5 .php7 .css .js
You could leave it blank and allow it to execute everything, but that’s not wise in terms of security, as it’ll open you to the risk of malicious php injections.