Custom path for PHP error log
Posted: Tue Sep 23, 2025 12:14 pm
In your SSH console, as root, type:
At the end of the file, add the following lines:
Press F2 to save the config file, and ESC to exit the editor.
That's it.
Code: Select all
v-edit-domain-php-ini your-website.com
Code: Select all
php_admin_value[error_log] = /home/your-user/your-website.com.error.log
php_admin_flag[log_errors] = on
That's it.