Archives for: "July 2020"

Find the PHP session files that are older than 24 minutes

Shell sudo find /var/lib/php/session -mmin +24 -type f -exec ls -l {} \; Yes, that's the whole post more »

Apache 2.4 virtual host specific PHP-FPM error logs

If you are using PHP-FPM with Apache and you would like to separate the error logging by user, directory or virtual host, you can use the ProxyFCGISetEnvIf directive In a server level Apache .conf file Code <Directory /home/user/public_html>… more »