[2020-04-28T07:37:43.805985+00:00] socket: TRACE > TRACE: _mongoc_socket_capture_errno():68 setting errno: 13 Permission denied
[2020-04-28T07:37:43.805997+00:00] socket: TRACE > TRACE: _mongoc_socket_errno_is_again():631 errno is: 13
This suggest a permission error with your HTTP server. This may be related to SElinux restrictions, which was covered in an older GitHub issue, mongodb/mongo-php-driver#484. It also seems related to the following Stack Overflow thread for MySQL, which shows that this isn’t particularly unique to MongoDB: apache - php can't connect to mysql with error 13 (but command line can) - Stack Overflow