Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: hdview on December 15, 2021, 08:01:53 PM

Title: Php error_logs not writing in ftp directory
Post by: hdview on December 15, 2021, 08:01:53 PM
Hi
How do i setup php error logs for to print all error in single account ftp directory ? when i login to ftp account i only see few folder, i dont see logs folder :(
please help me to setup this in cwp pro.

my php ini settings are correct, i i setup the  error_log:    /var/www/log/php_errors.log

still not creating log folder in ftp directory !
please help me to fix this problem.

(https://hdview.co.uk/ftp.PNG)
Title: Re: Php error_logs not writing in ftp directory
Post by: studio4host on December 16, 2021, 12:03:28 PM
php in cwp is per user and now allowed to exit home folder of the user
Title: Re: Php error_logs not writing in ftp directory
Post by: hdview on December 16, 2021, 03:24:19 PM
thanks for replying me back, but how can we make it? for example in cpanel whm it creates log folder in home directory automaticly. how can we make in cwp ? any suggest ?
Title: Re: Php error_logs not writing in ftp directory
Post by: Igor S. on December 23, 2021, 10:23:45 AM
What exactly folder do you want using for logs? you cannot use /var/www/a_path/