Mysql not connecting Giving HTTP 500 But Mysqli is Connecting
Sir, i have created a droplet.
Now i wanna to use some of my php files. which are present on local.
Now i have uploaded on the Digital Ocean Server and they are Showing HTTP 500 Error.
I have changed the connection to Mysqli, which is working fine.
Some of my function like mail() is not working.
I don;t know why mysql connection or code is not working. So please let me know the solution for it if any body knows.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.