Keywords: MySQL - AWS - Technical issue - Other
I’m running a dynamic website on aws with bitnamy app. Site written and tested locally with xampp (PHP, JS, Mysql). Locally works just fine.
Uploaded to AWS/Bitnami. I have a problem when storing information in database.
PHP code inserts one row in table one ( this “$pre_stmt = $this->con->prepare”)
Then, mysql is supposed to returns key value.
“$invoice_no = $pre_stmt->insert_id”
Then insert several rows in a second table.
This works find when use locally. But when use in http://awsboer.bitnamiapp.com/. No value is return with “$invoice_no = $pre_stmt->insert_id”.
HTTP ERROR 500
Supposed has something to do with responses from PHPmyadmin MYSQL when used on AWS/Bitnami.