Infinite Loading Times When Using PHP Sessions
I have recently started moving from a Sharedhost(HostGator). Hostgator had to much downtime as the website was starting to get a large amount of traffic. I figured this wouldn’t be as painful as it has been. I’ve been working trying to get the server up for almost 3 days with the same result and no luck.
I’m currently working on a project that requires users to login, and when they login or a session have been set by PHP. Everything on the Website will load indefinitely. There doesn’t seem to be a timeout or error codes. It just loads. This project was built when using the Shared Server and has no no problems, everything is stable.
To see the example, http://aileron-sl.net/ Form Inputs(shymus Roffo, password, nexus) Those are all the test values. Once you login, you will need to refresh the page a few times and it will never load. On that example, there were no errors when using shared hosting or any problems. Everything ran very stable.
These were the guides that i followed to get my VPS started. I’m running Ubuntu 16.04. http://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04
When i got everything working, when i logged in the website the first time after the LAMP was set up, everything loaded fast. But if i attempted to visit another page after that any page with PHP session_start() would be extremely slow.
There are no errors that appear in the PHP logs or Apache Logs.
Would love to know what might possibly cause this or what could fix it. Would also be great if i could find a way that could pin-point me to finding these errors.