Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
WiCKeDxgg Posted December 13, 2021 Posted December 13, 2021 I cannot edit php functions on this host via php.ini file. They are telling me i need to disable functions via htaccess. i tried using php_admin_value disable_functions "all functions here" but it threw an error on my community. to be clear i didnt anchor it in some tags <> i just put the command in the htaccess file.
Randy Calvert Posted December 13, 2021 Posted December 13, 2021 Try not quoting all functions here. php_value disable_functions exec,passthru,shell_exec,system WiCKeDxgg and SeNioR- 2
WiCKeDxgg Posted December 13, 2021 Author Posted December 13, 2021 1 hour ago, Randy Calvert said: Try not quoting all functions here. php_value disable_functions exec,passthru,shell_exec,system do i have to put it inside <> i notice in access file there is always something like <directory/dir> php_value disable_functions exec,passthru,shell_exec,system </directory>
Randy Calvert Posted December 13, 2021 Posted December 13, 2021 You should not need a directory path. Now... it's important to remember... this call cannot REMOVE a value that is disabled at the server level. For example.... If the server disables module1, module2, and module3... You cannot use a custom value of just module1, module2 so that module3 is enabled. module3 would remain disabled. The directive is designed to ADD additional modules to the deny list, not remove them from it. 🙂
WiCKeDxgg Posted December 14, 2021 Author Posted December 14, 2021 6 hours ago, Randy Calvert said: You should not need a directory path. Now... it's important to remember... this call cannot REMOVE a value that is disabled at the server level. For example.... If the server disables module1, module2, and module3... You cannot use a custom value of just module1, module2 so that module3 is enabled. module3 would remain disabled. The directive is designed to ADD additional modules to the deny list, not remove them from it. 🙂 Im sorry im very ignorant when you use all these smart words. I just don't understand haha. I am using the .htaccess file invision provided for friendly urls. So does this look correct? php_value disable_functions exec,passthru,shell_exec,system i seem to still have the errors in my admin panel 😪
Recommended Posts