Skip to content

Laravel Auth Login Page Just Refreshes

I am using Laravel 5.4. I ran the make:auth command to scaffold out my auth controllers and views. I can register a new account without issue as it is showing up in my database. However when I try to login, the login page simply refreshes without any errors being thrown. In the login controller I have the red…

Apache / PHP error_log location in Docker

My PHP script has an error. For example, this shows this on the screen: Warning: require(/var/www/foo.php): failed to open stream: Where can I find this in the logs? I tried docker logs containerName, but it only shows access logs. E.g., 192.168.2.1 – – [17/Mar/2019:10:00:00 +0000] “GET / HT…

Check if file is locked by concurrent process

I have a process that writes a file using file_put_contents(): file_put_contents ( $file, $data, LOCK_EX ); I have added the LOCK_EX parameter to prevent concurrent processes from writing to the …