Page 1 of 1

Custom path for PHP error log

Posted: Tue Sep 23, 2025 12:14 pm
by myVesta
In your SSH console, as root, type:

Code: Select all

v-edit-domain-php-ini your-website.com
At the end of the file, add the following lines:

Code: Select all

php_admin_value[error_log] = /home/your-user/your-website.com.error.log
php_admin_flag[log_errors] = on
Press F2 to save the config file, and ESC to exit the editor.
That's it.