Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

App engine use phpmyadmin 5.1 and php 8.2 get mine_type error

I use app engine to deploy phpmyadmin 5.1 , when I use phpmyadmin web i got some error
截圖 2024-01-05 上午11.06.57.png
message.php was refused because mine_type error

app yaml

截圖 2024-01-05 上午11.16.20.png

Has anyone else encountered this problem and solved it?

1 3 475
3 REPLIES 3

Hi @SeanWang,

Welcome to Google Cloud Community!

Based on the screenshot you provided, your PHP runtime version is not yet supported as the latest supported version is PHP 8.2. Your runtime should be like this:

runtime: php82

You can check this runtime support schedule for PHP for other supported versions.

You could also refer to this documentation on building an app with PHP 7/8 so that you could test building an app in App Engine using PHP 7/8.

Hope this helps.

Hi @robertcarlos ,

In fact I use php 8.2,the screenshot was test do it but I use version 8.2 still get the same error.

I do some other try found some information, I comment out js and css route in the app.yaml get the same mine_type error, so i guess cause this problem it was message.php not route to correct, but I try many route rule, still not fix it.

Same problem, I get a blank screen with 45 MIME type errors