How to downgrade phpMyAdmin version in MAMP PRO - php

I'm currently using PHP 5.3.29 for my application and I can't currently upgrade it. I'm working on getting access to phpMyAdmin. I'm running MAMP PRO 4.2.1 which has phpMyAdmin version 4.7.3 which only allows PHP versions 5.5+ to access. I was thinking similar logic to http://blog-en.mamp.info/2013/08/how-to-upgrade-phpmyadmin-in-mamp-mamp.html would apply for how to downgrade the version. I downloaded phpMyAdmin 4.0.10.20 and added the current config.inc.php file to the new phpMyAdmin folder I just downloaded. I then replaced the file in Applications/MAMP/bin as well as /Library/Application Support/appsolute/MAMP PRO/. When I tried running localhost/phpmyadmin I wasn't able to connect. When I went to localhost/mamp I noticed under tools it still said I needed PHP 5.5+ to access phpMyAdmin. I then switched to CGI mode in MAMP Pro and changed localhost to 5.5.38 and when I went to localhost/phpmyadmin it was now working, but it still said I was using phpMyAdmin v4.7.3. So my question is how do I actually change the phpMyAdmin version used with MAMP Pro? I was under the impression that downloading old version and replacing in those two places mentioned should have taken care of it. I also made sure to restart server anytime I made a change to MAMP files so that's not the problem

I was doing everything necessary according to MAMP support in terms of changes, but they believe there was something in the code preventing me from viewing phpMyAdmin in a lower version. I ended up just using Sequel Pro to do what I needed and that was quite simple.

Related

Php version differs between homebrew and localhost

I try to update my php to 8.0 using homebrew. The update worked fine. The “php -v” shows that the actual version is 8.0.14. However when I open my localhost and go to “phpinfo.php” it shows the old version 7.4.22. Obviously my server still uses the old one. How to fix this? How to update the server version. I saw several post about similar problem, but the solutions offered didn’t work for me… I’m using Mac.
Thanks
So after long searching I finally found this step-by-step tutorial.
https://getgrav.org/blog/macos-monterey-apache-multiple-php-versions
What I did:
I added apache to my server;
I added php to my server (now I no longer need XAMPP);
I followed the step by step configuration to connect apache to php (through updates in httpd.conf file).

Windows XAMPP Missing MySQL Extension

I have read this question and it didn't help me:
PHPMyAdmin Windows XAMPP Missing MySQL Extension Issue
Tomorrow I have a big demonstration where I demonstrate my project (for my internship) and I wanted to install 2different xampp versions because the pc's there are a little funky sometimes and better be safe than sorry. But now whenever I start xampp and go to PHPMyAdmin it gives me an error
missing php mysqli extension
I tried everything in the question linked above but nothing works.
I restarted my pc, delete all xampp versions on my pc but still nothing.
Tried installing on a different pc, worked plugged the USB drive back into my pc and it still works. Though this is not a solution since I still can't install a xampp version even if I delete the current version on my usb or try to install it on my pc (without USB).

Windows 10 uninstall Mamp - cannot find C:\MAMP\unins000.exe

Short backstory: Recently I've installed MAMP as I want to start learning PHP. I got version 4.1.1 from the MAMP homepage, Apache didn't start. This seems to be a common bug for that version, I found a solution in downloading version 4.1.0. Both servers started but the Open WebStart Page didn't work.
My Problem: I wanted to try reinstalling it, I deleted the MAMP folder, as I thought that would be sufficient, instead of deleting it in the system settings. Now when I download it again and start the installer it says
MAMP setup has detected existing MAMP installation. You need to remove existing installation before proceeding. Do you want to uninstall it now?
Clicking either yes or no gives me
MAMP setup will now exit and the existing MAMP installation will not be removed.
In the system settings I find
MAMP & MAMP PRO 4.1.0 version 4.1.0 (1.47 GB)
When trying to uninstall it it gives me this error
Windows cannot find 'C:\MAMP\unins000.exe'. Make sure you typed the name correctly, and then try again.
Is there any way, other than reinstalling my whole OS, to solve this problem or do I have to turn to a different web server app?
I just encountered this problem and I hope my solution works for you as well:
Just download the .exe file into another device and install the MAMP.
After a successful installation, just copy the folder to your original device that has the problem.
And then you should find a file with a name starting with "uni" meaning it is for uninstallation. Just run that file and then everything should be fine!
I had the same problem (on OS is windows 10).
I browse the web and found a way:
You can download the ccleaner and use it, it can delete the MAMP.

MAMP Pro "Starting Apache failed" on PHP 5.5.38

I have MAMP Pro running successfully using a couple different versions of PHP. However, when I tried to set up a host with PHP v5.5.38 suddenly Apache wouldn't start and displayed the error...
Starting Apache failed
Apache couldn't be started. Please check the log file for more information.
There is no information produced in the apache log file and the issue is resolved if I switch back to using one of the PHP versions I already know works. I tried deleting that version of PHP in Applications/MAMP/bin/php/php5.5.38/ and then reinstalled it, but I'm still getting the same issue.
I'm running macOS Sierra v10.12.5 and MAMP Pro 4.1.1.
I had the same issue after re-installing MAMP PRO. In addition, all my hostnames turned red. Figured out that they had all lost connection to their SSL Certs. Once I re-created all of the certs (you could relink to existing certs as well), and the hostnames were no longer red, Apache launched just fine.
Solved: The same solution than #Taz (A bit tedious, frankly...)
Uninstall MAMP PRO (Menu MAMP PRO > Uninstall MAMP PRO)
Erase all old MAMP directories in Applications
Install a fresh MAMP PRO copy
In the old Mac, make a backup of MAM (select localhost host, menu File > Backup. tick Virtual Hosts and MySQL Databases.
In the new Mac, import the backup
NOTE: it could take time to backup, transfer and restore. You have to be patient...
RESTORE THE HOSTS TABLE
Copy /Volumes/your_user_name/Library/Application Support/appsolute/MAMP PRO/settings5.plist to the new mac

Mamp is not seeing localhost

In the MAMP menu bar>> Tools - I am seeing this:
phpMyAdmin(needs PHP5.5x to 7.0x)
SQLite Manager (needs PHP5.2.x or 5.3.x)
I have 8 sites on one shared database developed locally using MAMP. Never had a problem in the past. I cannot access any of the sites via localhost. - the last site I worked on required a newer version of PHP and I added V7.1.1 - the prior sites are run on earlier PHP versions, built full site using php 7.1.1 locally no problem. - That said, currently
none of the sites will open via localhost.
The only thing I can think of is that I may have upgraded to OS Sierra and maybe that threw off a file? I called Apple they recommend not touching the Apache settings. I reinstalled Mamp, no change.
OS Sierra 10.12.3
MAMP V.4.1.1
PHP V. 7.1.1
I can connect to the internet, and my firewall is off.
I checked my host file - everything is there that should be with the exception of : "sudo killall -HUP mDNSResponder" which I read in an earlier thread - do I need this?
localhost connection message:
"Unable to connect
Firefox can’t establish a connection to the server at localhost:8888."
I thought that by downloading the lastest version of MAMP I would be recieving the latest package of software such as apache,mysqyl and phpMyAdmin?
I humbly ask for any insight and thank you in advance!
I'm having this same issue and just found this on google:
After you run the servers on MAMP/MAMP PRO
TRY THIS:
localhost:8888/phpmyadmin

Categories