I have read several forum posts and the documentation, but at least 2 domains are still throwing the above issue into the error_log and causing a 500 status code
1. Followed this document: secure_php - with secure_php=yes, php_ini=yes
2. Followed the section at: How to customize the disable_functions list - removed exec() and shell_exec()
I've turned OFF open_basedir in the user/reseller account of these 2 domains, but cannot discover why
What am I missing or what else must be checked?
David
1. Followed this document: secure_php - with secure_php=yes, php_ini=yes
2. Followed the section at: How to customize the disable_functions list - removed exec() and shell_exec()
Bash:
root@vps:/usr/local/directadmin/custombuild# ./build secure_php
PHP has been secured.
Restarting php-fpm82.
Restarting php-fpm83.
root@vps:# php -i | grep ^disable_functions
disable_functions => no value => no value
root@vps:# grep disable_functions /usr/local/php*/lib/php.ini
/usr/local/php82/lib/php.ini:disable_functions = passthrough,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
/usr/local/php83/lib/php.ini:disable_functions = passthrough,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
I've turned OFF open_basedir in the user/reseller account of these 2 domains, but cannot discover why
exec()
will not work.What am I missing or what else must be checked?
David