Wednesday, February 9, 2022

[FIXED] How can I prevent Incorrect format parameter in Mamp phpMyadmin?

Issue

I am working with MampPro 6.2 with php version 7.4.9

I try to import a database but I get a phpmyadmin error:

Incorrect format parameter

So in my Mamp application I changed File>Open Template>PHP (php.ini)>7.4.9:

max_execution_time = 3000
max_input_time = 120
memory_limit = 512M
upload_max_filesize=2G
post_max_size=2G

And I started the server again. I tried to upload the database again but still the same error.


Solution

The solution that worked for me is:

I am working with different hosts in Mamp Pro, and after I changed the php version of localhost to the same php version than my host, it worked.

Probably although the import works now you might have another error like this

The server encountered an internal error or misconfiguration and was unable to complete your request.

A solution for this you can find here:

https://craftcms.stackexchange.com/questions/4661/fastcgi-error-when-accessing-a-local-development-site-using-mamp-pro



Answered By - peace_love

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.