I recently switched to fastcgi, and now I have a problem setting the php enable path, which was previously installed in .htaccess as:
php_value include_path "[INCLUDE PATH]"
Since it is a switch, this gives an error:
Invalid php_value command, possibly with an error or determined by the module is not included in the server configuration
And for my understanding, "php_value" cannot be set via htaccess with fastcgi.
Is there a way around this or globally specify the path to enable php for the entire site with subdirectories, for example, through the apache configuration?
I know that I can manually specify the include path on each script in php or I can specify the include path in php.ini in the directory, but the sites are already installed with many files and directories, and it will be cumbersome to go through each file and directory to copy the new included paths or php.ini files.
source
share