apache - Apache2 with php-fpm error_log setup -


i have script located in home/user/public_html/scrip/sript.php . want when run script , there errors error_log.txt file generated in same location script.

the errors generated in common location services want know if it's possible setup specific location of script.

are running script shell? 2> echo errors file name. php sript.php 2> sript.err creates error log


Comments