Closed CherukuriSiva closed 3 years ago
What version php is on your 'host machine.'?
It was a file upload size issue. Localhost is accepting even 10MB images but the server machine has some restrictions on image sizes. I updated the php.ini file then found no issues.
First of all, thank you for open sourcing this great library.
I am able to insert data using the above code in my local machine's mysql without any issues. However same code not working on the host machine.
I have followed the steps mentioned in the below link and installed apache and mysql. https://bmtechtips.com/how-to-launch-your-own-php-website-on-a-digitalocean.htm
In my local machine PHP version is: PHP 8.0.2 The server machine's PHP version is: PHP 7.4.3
Could you please help me to resolve this issue.