I'm using SFTP driver as my default storage driver and I have a
viewimage.php that loads avatars of resources in the system.
From stepping through codes, it seems almost every call of the viewimage.php file a new connection is made which is causing the ssh connection to be closed by the server due to too many connections.
Is there a way to make it persistent so it gets reused each time?
I'm using PHP 7.1.21 and 5.5.60-MariaDB. Nothing much has changed and this same configurations runs laravel very well. Just that if the url is host//old_script.php it works. But if it is host/old_script.php it redirects to the index.php
I have an old php application which I have integrated laravel 5.8. All works fine just that if I want to boot up laravel in the old system sometimes it works and other times it doesn't. What I have noticed is that when I use single forward slash after the host name it redirects to the old system but when I use double slash, the kernel boots up okay.