Unable to change document root for php-fpm domain
I am trying to change the default document root for a domain running php-fpm. To do so i've add to code below to /var/cpanel/userdata/user/domain.php_fpm.yaml file.
* i've tried both with and without the double quotes for the value. After adding the code I run
But no luck. What else can I do to troubleshot?
php_admin_value_doc_root: { name: 'php_admin_value[doc_root]', value: "/home/username/public_html/test" }
* i've tried both with and without the double quotes for the value. After adding the code I run
/scripts/php_fpm_config --rebuild
/scripts/restartsrv_apache_php_fpm
/scripts/restartsrv_httpd
But no luck. What else can I do to troubleshot?
Please sign in to leave a comment.
Comments
0 comments