PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, February 9, 2022

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

 February 09, 2022     mamp-pro, php, phpmyadmin     No comments   

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
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

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

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing